diff src/urweb.grm @ 1543:6f046b4bad24

Add antiquote for ORDER BY directions
author Adam Chlipala <adam@chlipala.net>
date Fri, 19 Aug 2011 14:20:24 -0400
parents 541673c3161d
children a0caa991cdad
line wrap: on
line diff
--- a/src/urweb.grm	Fri Aug 19 08:59:01 2011 -0400
+++ b/src/urweb.grm	Fri Aug 19 14:20:24 2011 -0400
@@ -1921,6 +1921,7 @@
 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)