--- trunk/src/parser/diderot.lex 2010/02/01 03:29:06 23 +++ trunk/src/parser/diderot.lex 2010/02/09 00:43:01 26 @@ -86,26 +86,28 @@ (***** Keywords and operators *****) -
"+" => (T.OP_plus); -
"-" => (T.OP_minus); -
"*" => (T.OP_star); -
"@" => (T.OP_at);
"(" => (T.LP);
")" => (T.RP);
"[" => (T.LB);
"]" => (T.RB);
"{" => (T.LCB);
"}" => (T.RCB); -
"<" => (T.LT); -
"<=" => (T.LTEQ); -
"==" => (T.EQEQ); -
"!=" => (T.NEQ); -
">=" => (T.GTEQ); -
">" => (T.GT); +
"||" => (T.OP_orelse); +
"&&" => (T.OP_andalso); +
"<" => (T.OP_lt); +
"<=" => (T.OP_lte); +
"==" => (T.OP_eqeq); +
"!=" => (T.OP_neq); +
">=" => (T.OP_gte); +
">" => (T.OP_gt); +
"+" => (T.OP_plus); +
"-" => (T.OP_minus); +
"*" => (T.OP_star); +
"@" => (T.OP_at);
"," => (T.COMMA);
";" => (T.SEMI); -
":" => (T.COLON);
"#" => (T.HASH); +
"!" => (T.BANG); (***** Comments *****)
"//"
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: <INITIAL> "#" => (T.HASH); +<INITIAL> "!" => (T.BANG); (***** Comments *****) <INITIAL> "//"