diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-06-03 11:29:31 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-06-03 11:29:31 -0400 |
commit | 6cd9389c53382c936a8bd71c92873906624d2a4e (patch) | |
tree | deacf0a9ebedccbc3e22fdb143c51d3dcc153a5b /src/urweb.lex | |
parent | ecb92d9539880cc59a371c786af5312b833ff8ca (diff) |
Lighter-weight encoding of window function use
Diffstat (limited to 'src/urweb.lex')
-rw-r--r-- | src/urweb.lex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urweb.lex b/src/urweb.lex index 272c5e65..0994ecec 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -463,8 +463,6 @@ xint = x[0-9a-fA-F][0-9a-fA-F]; <INITIAL> "OFFSET" => (Tokens.OFFSET (pos yypos, pos yypos + size yytext)); <INITIAL> "ALL" => (Tokens.ALL (pos yypos, pos yypos + size yytext)); <INITIAL> "SELECT1" => (Tokens.SELECT1 (pos yypos, pos yypos + size yytext)); -<INITIAL> "OVER" => (Tokens.OVER (pos yypos, pos yypos + size yytext)); -<INITIAL> "PARTITION" => (Tokens.PARTITION (pos yypos, pos yypos + size yytext)); <INITIAL> "JOIN" => (Tokens.JOIN (pos yypos, pos yypos + size yytext)); <INITIAL> "INNER" => (Tokens.INNER (pos yypos, pos yypos + size yytext)); @@ -490,6 +488,8 @@ xint = x[0-9a-fA-F][0-9a-fA-F]; <INITIAL> "MIN" => (Tokens.MIN (pos yypos, pos yypos + size yytext)); <INITIAL> "MAX" => (Tokens.MAX (pos yypos, pos yypos + size yytext)); <INITIAL> "RANK" => (Tokens.RANK (pos yypos, pos yypos + size yytext)); +<INITIAL> "PARTITION" => (Tokens.PARTITION (pos yypos, pos yypos + size yytext)); +<INITIAL> "OVER" => (Tokens.OVER (pos yypos, pos yypos + size yytext)); <INITIAL> "IF" => (Tokens.CIF (pos yypos, pos yypos + size yytext)); <INITIAL> "THEN" => (Tokens.CTHEN (pos yypos, pos yypos + size yytext)); |