X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fwww%2Flambdadelta%2Fbin%2Fxhtbl%2FtextLexer.mll;h=4b06e4c402f61044f1f17a99c2713e41fa1e45c2;hb=7f1b4a69c5a262a6d4b68922fe4cb9e7c931f4d4;hp=7efa9035d6e9084815beed2e5ecc6a584b1c97ae;hpb=cb0d4e730bd6ec9bed1018be37748120f740f0a9;p=helm.git diff --git a/helm/www/lambdadelta/bin/xhtbl/textLexer.mll b/helm/www/lambdadelta/bin/xhtbl/textLexer.mll index 7efa9035d..4b06e4c40 100644 --- a/helm/www/lambdadelta/bin/xhtbl/textLexer.mll +++ b/helm/www/lambdadelta/bin/xhtbl/textLexer.mll @@ -22,17 +22,21 @@ rule token = parse | "[" { out "["; TP.OB } | "]" { out "]"; TP.CB } | "*" { out "*"; TP.SR } + | "^" { out "^"; TP.CF } | "+" { out "+"; TP.PS } | "(" { out "("; TP.OP } | ")" { out ")"; TP.CP } | "@" { out ")"; TP.AT } - | "space" { out "name"; TP.SPACE } + | "space" { out "space"; TP.SPACE } | "name" { out "name"; TP.NAME } | "table" { out "table"; TP.TABLE } | "class" { out "class"; TP.CSS } + | "uri" { out "uri"; TP.URI } + | "ext" { out "ext"; TP.EXT } | eof { TP.EOF } and str = parse | QT { "" } + | "\\\\" { "\\" ^ str lexbuf } | "\\\"" { "\"" ^ str lexbuf } | _ as c { S.make 1 c ^ str lexbuf } and block = parse