summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 14:20:24 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-19 14:20:24 -0400
commit2babe3938c1d97e46be24e033d9cb575f746d80b (patch)
tree171d4a50ae25c43824224d1cf7bf418b16de314c /src
parentafaf7f27220ccc94b3bb29fb14994040e97b1f4e (diff)
Add antiquote for ORDER BY directions
Diffstat (limited to 'src')
-rw-r--r--src/urweb.grm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/urweb.grm b/src/urweb.grm
index f57f7a64..7a4d143f 100644
--- a/src/urweb.grm
+++ b/src/urweb.grm
@@ -1921,6 +1921,7 @@ obexps : obitem (let
diropt : (EVar (["Basis"], "sql_asc", Infer), dummy)
| ASC (EVar (["Basis"], "sql_asc", Infer), s (ASCleft, ASCright))
| DESC (EVar (["Basis"], "sql_desc", Infer), s (DESCleft, DESCright))
+ | LBRACE eexp RBRACE (eexp)
lopt : (EVar (["Basis"], "sql_no_limit", Infer), dummy)
| LIMIT ALL (EVar (["Basis"], "sql_no_limit", Infer), dummy)