diff options
author | 2011-11-23 12:17:40 -0530 | |
---|---|---|
committer | 2011-11-23 12:17:40 -0530 | |
commit | 4f189ee576e925733c1ffc6c483cb95cf0711170 (patch) | |
tree | 50be5eee01b33287ce0f9d137f9fd2dded507ed6 /src/urweb.lex | |
parent | e9dcc580d0cb1222ef3889e6f536953724857c3d (diff) |
Add LIKE operator to SQL sublanguage.
Diffstat (limited to 'src/urweb.lex')
-rw-r--r-- | src/urweb.lex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/urweb.lex b/src/urweb.lex index 8e8b0a12..b3b590f2 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -500,6 +500,7 @@ xint = x[0-9a-fA-F][0-9a-fA-F]; <INITIAL> "NULL" => (Tokens.NULL (pos yypos, pos yypos + size yytext)); <INITIAL> "IS" => (Tokens.IS (pos yypos, pos yypos + size yytext)); <INITIAL> "COALESCE" => (Tokens.COALESCE (pos yypos, pos yypos + size yytext)); +<INITIAL> "LIKE" => (Tokens.LIKE (pos yypos, pos yypos + size yytext)); <INITIAL> "CONSTRAINT"=> (Tokens.CCONSTRAINT (pos yypos, pos yypos + size yytext)); <INITIAL> "UNIQUE" => (Tokens.UNIQUE (pos yypos, pos yypos + size yytext)); |