summaryrefslogtreecommitdiff
path: root/src/urweb.lex
diff options
context:
space:
mode:
Diffstat (limited to 'src/urweb.lex')
-rw-r--r--src/urweb.lex4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/urweb.lex b/src/urweb.lex
index 74b91432..21e3d603 100644
--- a/src/urweb.lex
+++ b/src/urweb.lex
@@ -480,6 +480,10 @@ xint = x[0-9a-fA-F][0-9a-fA-F];
<INITIAL> "MIN" => (Tokens.MIN (pos yypos, pos yypos + size yytext));
<INITIAL> "MAX" => (Tokens.MAX (pos yypos, pos yypos + size yytext));
+<INITIAL> "IF" => (Tokens.CIF (pos yypos, pos yypos + size yytext));
+<INITIAL> "THEN" => (Tokens.CTHEN (pos yypos, pos yypos + size yytext));
+<INITIAL> "ELSE" => (Tokens.CELSE (pos yypos, pos yypos + size yytext));
+
<INITIAL> "ASC" => (Tokens.ASC (pos yypos, pos yypos + size yytext));
<INITIAL> "DESC" => (Tokens.DESC (pos yypos, pos yypos + size yytext));