diff src/urweb.grm @ 910:8e540df3294d

grid1 compiles but gets stuck in JS
author Adam Chlipala <adamc@hcoop.net>
date Tue, 25 Aug 2009 13:57:56 -0400
parents 9f0ea203a1ca
children fbc3a0eef45a
line wrap: on
line diff
--- a/src/urweb.grm	Sat Aug 22 16:32:31 2009 -0400
+++ b/src/urweb.grm	Tue Aug 25 13:57:56 2009 -0400
@@ -1087,6 +1087,13 @@
                                                        (EField (e, ident), loc))
                                                    (EVar (#1 path, #2 path, Infer), s (pathleft, pathright)) idents
                                          end)
+       | LPAREN eexp RPAREN DOT idents  (let
+                                             val loc = s (LPARENleft, identsright)
+                                         in
+                                             foldl (fn (ident, e) =>
+                                                       (EField (e, ident), loc))
+                                                   eexp idents
+                                         end)
        | AT path DOT idents             (let
                                              val loc = s (ATleft, identsright)
                                          in