summaryrefslogtreecommitdiff
path: root/src/urweb.grm
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
commit7144b7ff351ce55fe39d107342ba2778331700e6 (patch)
tree171d4a50ae25c43824224d1cf7bf418b16de314c /src/urweb.grm
parent4566f7c929223345423d66554be1015acf3cefb9 (diff)
Add antiquote for ORDER BY directions
Diffstat (limited to 'src/urweb.grm')
-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)