comparison src/lacweb.lex @ 219:5292c0113024

SQL comparison operators
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 17:18:00 -0400
parents e86411f647c6
children 2b665e822e9a
comparison
equal deleted inserted replaced
218:a3413288cce1 219:5292c0113024
236 <INITIAL> "=>" => (Tokens.DARROW (pos yypos, pos yypos + size yytext)); 236 <INITIAL> "=>" => (Tokens.DARROW (pos yypos, pos yypos + size yytext));
237 <INITIAL> "++" => (Tokens.PLUSPLUS (pos yypos, pos yypos + size yytext)); 237 <INITIAL> "++" => (Tokens.PLUSPLUS (pos yypos, pos yypos + size yytext));
238 <INITIAL> "--" => (Tokens.MINUSMINUS (pos yypos, pos yypos + size yytext)); 238 <INITIAL> "--" => (Tokens.MINUSMINUS (pos yypos, pos yypos + size yytext));
239 239
240 <INITIAL> "=" => (Tokens.EQ (pos yypos, pos yypos + size yytext)); 240 <INITIAL> "=" => (Tokens.EQ (pos yypos, pos yypos + size yytext));
241 <INITIAL> "<>" => (Tokens.NE (pos yypos, pos yypos + size yytext));
242 <INITIAL> "<" => (Tokens.LT (pos yypos, pos yypos + size yytext));
243 <INITIAL> ">" => (Tokens.GT (pos yypos, pos yypos + size yytext));
244 <INITIAL> "<=" => (Tokens.LE (pos yypos, pos yypos + size yytext));
245 <INITIAL> ">=" => (Tokens.GE (pos yypos, pos yypos + size yytext));
241 <INITIAL> "," => (Tokens.COMMA (pos yypos, pos yypos + size yytext)); 246 <INITIAL> "," => (Tokens.COMMA (pos yypos, pos yypos + size yytext));
242 <INITIAL> ":::" => (Tokens.TCOLON (pos yypos, pos yypos + size yytext)); 247 <INITIAL> ":::" => (Tokens.TCOLON (pos yypos, pos yypos + size yytext));
243 <INITIAL> "::" => (Tokens.DCOLON (pos yypos, pos yypos + size yytext)); 248 <INITIAL> "::" => (Tokens.DCOLON (pos yypos, pos yypos + size yytext));
244 <INITIAL> ":" => (Tokens.COLON (pos yypos, pos yypos + size yytext)); 249 <INITIAL> ":" => (Tokens.COLON (pos yypos, pos yypos + size yytext));
245 <INITIAL> "..." => (Tokens.DOTDOTDOT (pos yypos, pos yypos + size yytext)); 250 <INITIAL> "..." => (Tokens.DOTDOTDOT (pos yypos, pos yypos + size yytext));