From bce3a31c8040f437fcb1d0a3e0440259ed851a9d Mon Sep 17 00:00:00 2001 From: Karn Kallio Date: Wed, 23 Nov 2011 12:17:40 -0530 Subject: Add LIKE operator to SQL sublanguage. --- src/urweb.lex | 1 + 1 file changed, 1 insertion(+) (limited to 'src/urweb.lex') 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]; "NULL" => (Tokens.NULL (pos yypos, pos yypos + size yytext)); "IS" => (Tokens.IS (pos yypos, pos yypos + size yytext)); "COALESCE" => (Tokens.COALESCE (pos yypos, pos yypos + size yytext)); + "LIKE" => (Tokens.LIKE (pos yypos, pos yypos + size yytext)); "CONSTRAINT"=> (Tokens.CCONSTRAINT (pos yypos, pos yypos + size yytext)); "UNIQUE" => (Tokens.UNIQUE (pos yypos, pos yypos + size yytext)); -- cgit v1.2.3