summaryrefslogtreecommitdiff
path: root/src/urweb.lex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-06-02 16:00:50 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-06-02 16:00:50 -0400
commit8b6941ac380392e36a30a06fb558c47a8fe7d2d8 (patch)
treeda888caf3fa14afe2943de2d9c8c82830c209de1 /src/urweb.lex
parentf4dab2b31d11cc6957c1a64a3ffe6261816d96d4 (diff)
Compiled a window function use
Diffstat (limited to 'src/urweb.lex')
-rw-r--r--src/urweb.lex3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/urweb.lex b/src/urweb.lex
index 5d3d6dbe..272c5e65 100644
--- a/src/urweb.lex
+++ b/src/urweb.lex
@@ -463,6 +463,8 @@ 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));
@@ -487,6 +489,7 @@ xint = x[0-9a-fA-F][0-9a-fA-F];
<INITIAL> "SUM" => (Tokens.SUM (pos yypos, pos yypos + size yytext));
<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> "IF" => (Tokens.CIF (pos yypos, pos yypos + size yytext));
<INITIAL> "THEN" => (Tokens.CTHEN (pos yypos, pos yypos + size yytext));