diff options
author | 2008-08-16 17:35:28 -0400 | |
---|---|---|
committer | 2008-08-16 17:35:28 -0400 | |
commit | 631b4b46de98cae2e6d207dc596fbd57a0a1beeb (patch) | |
tree | 9901b62d9a5999fd32bc762e08076758550a8785 /src/lacweb.lex | |
parent | fbebdf5fa84afd716dea471e3995b6d3a7878e37 (diff) |
SQL boolean operators
Diffstat (limited to 'src/lacweb.lex')
-rw-r--r-- | src/lacweb.lex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lacweb.lex b/src/lacweb.lex index e71974f6..70e55df7 100644 --- a/src/lacweb.lex +++ b/src/lacweb.lex @@ -298,6 +298,9 @@ notags = [^<{\n]+; <INITIAL> "TRUE" => (Tokens.TRUE (pos yypos, pos yypos + size yytext)); <INITIAL> "FALSE" => (Tokens.FALSE (pos yypos, pos yypos + size yytext)); +<INITIAL> "AND" => (Tokens.CAND (pos yypos, pos yypos + size yytext)); +<INITIAL> "OR" => (Tokens.OR (pos yypos, pos yypos + size yytext)); +<INITIAL> "NOT" => (Tokens.NOT (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)); |