summaryrefslogtreecommitdiff
path: root/src/lacweb.lex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-16 12:15:38 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-16 12:15:38 -0400
commit58a120615454c5eb73b560f8d3de6a45310d4aab (patch)
tree4d852c455a49058e8ade712c4e0e4bdd1a943697 /src/lacweb.lex
parent3c28b7024034c5969525035f8b602272441dd323 (diff)
Stub WHERE support
Diffstat (limited to 'src/lacweb.lex')
-rw-r--r--src/lacweb.lex4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lacweb.lex b/src/lacweb.lex
index 50fe7f26..9e994b27 100644
--- a/src/lacweb.lex
+++ b/src/lacweb.lex
@@ -288,6 +288,10 @@ notags = [^<{\n]+;
<INITIAL> "SELECT" => (Tokens.SELECT (pos yypos, pos yypos + size yytext));
<INITIAL> "FROM" => (Tokens.FROM (pos yypos, pos yypos + size yytext));
<INITIAL> "AS" => (Tokens.AS (pos yypos, pos yypos + size yytext));
+<INITIAL> "WHERE" => (Tokens.CWHERE (pos yypos, pos yypos + size yytext));
+
+<INITIAL> "TRUE" => (Tokens.TRUE (pos yypos, pos yypos + size yytext));
+<INITIAL> "FALSE" => (Tokens.FALSE (pos yypos, pos yypos + size yytext));
<INITIAL> {id} => (Tokens.SYMBOL (yytext, pos yypos, pos yypos + size yytext));
<INITIAL> {cid} => (Tokens.CSYMBOL (yytext, pos yypos, pos yypos + size yytext));