summaryrefslogtreecommitdiff
path: root/src/cjr.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-13 14:20:41 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-13 14:20:41 -0500
commitf5449b93792afc81e4da70d2a790ef7a2d2b49d5 (patch)
tree14b2deefac4e078e2d5e4e5bdd076749de8659d8 /src/cjr.sml
parent2319f2ff07432849cc88956ad92467edd2e8bf5e (diff)
Initializers and setval
Diffstat (limited to 'src/cjr.sml')
-rw-r--r--src/cjr.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cjr.sml b/src/cjr.sml
index 2b8ce6fe..9be54670 100644
--- a/src/cjr.sml
+++ b/src/cjr.sml
@@ -95,6 +95,7 @@ datatype exp' =
prepared : {id : int, dml : string} option }
| ENextval of { seq : exp,
prepared : {id : int, query : string} option }
+ | ESetval of { seq : exp, count : exp }
| EUnurlify of exp * typ
withtype exp = exp' located
@@ -117,6 +118,8 @@ datatype decl' =
| DCookie of string
| DStyle of string
+ | DInitializer of exp
+
withtype decl = decl' located
datatype sidedness =