diff src/lacweb.grm @ 44:a9f3ce2d1b9b

Elaborating functor applications
author Adam Chlipala <adamc@hcoop.net>
date Thu, 19 Jun 2008 17:04:08 -0400
parents b3fbbc6cb1e5
children 0a5c312de09a
line wrap: on
line diff
--- a/src/lacweb.grm	Thu Jun 19 16:43:24 2008 -0400
+++ b/src/lacweb.grm	Thu Jun 19 17:04:08 2008 -0400
@@ -154,6 +154,7 @@
                                         (StrFun (CSYMBOL, sgn, NONE, str), s (FUNCTORleft, strright))
        | FUNCTOR LPAREN CSYMBOL COLON sgn RPAREN COLON sgn DARROW str
                                         (StrFun (CSYMBOL, sgn1, SOME sgn2, str), s (FUNCTORleft, strright))
+       | spath LPAREN str RPAREN        (StrApp (spath, str), s (spathleft, RPARENright))
 
 spath  : CSYMBOL                        (StrVar CSYMBOL, s (CSYMBOLleft, CSYMBOLright))
        | spath DOT CSYMBOL              (StrProj (spath, CSYMBOL), s (spathleft, CSYMBOLright))