X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/fd53df8fe8e39d722b7562c4e9d68ab4d7937577..75d4c2d6fb7996625d062f5949ceb2e66c0a70ab:/src/domtool.lex diff --git a/src/domtool.lex b/src/domtool.lex index 99449ca..dd4391b 100644 --- a/src/domtool.lex +++ b/src/domtool.lex @@ -130,6 +130,10 @@ lineComment = #[^\n]*\n; "with" => (Tokens.WITH (yypos, yypos + size yytext)); "where" => (Tokens.WHERE (yypos, yypos + size yytext)); + "if" => (Tokens.IF (yypos, yypos + size yytext)); + "then" => (Tokens.THEN (yypos, yypos + size yytext)); + "else" => (Tokens.ELSE (yypos, yypos + size yytext)); + "extern" => (Tokens.EXTERN (yypos, yypos + size yytext)); "type" => (Tokens.TYPE (yypos, yypos + size yytext)); "val" => (Tokens.VAL (yypos, yypos + size yytext));