diff options
author | Karn Kallio <kkallio@eka> | 2011-11-23 12:17:40 -0530 |
---|---|---|
committer | Karn Kallio <kkallio@eka> | 2011-11-23 12:17:40 -0530 |
commit | bce3a31c8040f437fcb1d0a3e0440259ed851a9d (patch) | |
tree | 50be5eee01b33287ce0f9d137f9fd2dded507ed6 /src/urweb.lex | |
parent | 7748e12ef233746b6ad92b21f474021f4135d51f (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)); |