diff src/mono.sml @ 1073:b2311dfb3158

Initializers and setval
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Dec 2009 14:20:41 -0500
parents 217eb87dde31
children 0657e5adc938
line wrap: on
line diff
--- a/src/mono.sml	Sun Dec 13 13:00:55 2009 -0500
+++ b/src/mono.sml	Sun Dec 13 14:20:41 2009 -0500
@@ -106,6 +106,7 @@
                      initial : exp }
        | EDml of exp
        | ENextval of exp
+       | ESetval of exp * exp
 
        | EUnurlify of exp * typ
 
@@ -138,6 +139,8 @@
        | DCookie of string
        | DStyle of string
 
+       | DInitializer of exp
+
 withtype decl = decl' located
 
 type file = decl list