summaryrefslogtreecommitdiff
path: root/src/urweb.grm
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 10:19:05 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 10:19:05 -0500
commite6dcaec66b01e85d4972344b8eea3d7c718a949f (patch)
tree0912963011416a0f1132c07d44c3eca8b6545d54 /src/urweb.grm
parentffb02010f3f25bcdecab88b8f6cab635b649f56e (diff)
Convert to task syntax
Diffstat (limited to 'src/urweb.grm')
-rw-r--r--src/urweb.grm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urweb.grm b/src/urweb.grm
index 8780d9f6..afe7be07 100644
--- a/src/urweb.grm
+++ b/src/urweb.grm
@@ -201,7 +201,7 @@ fun patType loc (p : pat) =
| LET | IN
| STRUCTURE | SIGNATURE | STRUCT | SIG | END | FUNCTOR | WHERE | EXTERN | SQL | SELECT1
| INCLUDE | OPEN | CONSTRAINT | CONSTRAINTS | EXPORT | TABLE | SEQUENCE | VIEW
- | COOKIE | STYLE | INITIALIZER
+ | COOKIE | STYLE | TASK
| CASE | IF | THEN | ELSE | ANDALSO | ORELSE
| XML_BEGIN of string | XML_END | XML_BEGIN_END of string
@@ -479,7 +479,7 @@ decl : CON SYMBOL cargl2 kopt EQ cexp (let
end)
| COOKIE SYMBOL COLON cexp ([(DCookie (SYMBOL, cexp), s (COOKIEleft, cexpright))])
| STYLE SYMBOL ([(DStyle SYMBOL, s (STYLEleft, SYMBOLright))])
- | INITIALIZER eexp ([(DInitializer eexp, s (INITIALIZERleft, eexpright))])
+ | TASK eapps EQ eexp ([(DTask (eapps, eexp), s (TASKleft, eexpright))])
dtype : SYMBOL dargs EQ barOpt dcons (SYMBOL, dargs, dcons)