diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-13 14:20:41 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-13 14:20:41 -0500 |
commit | f5449b93792afc81e4da70d2a790ef7a2d2b49d5 (patch) | |
tree | 14b2deefac4e078e2d5e4e5bdd076749de8659d8 /src/mono_print.sml | |
parent | 2319f2ff07432849cc88956ad92467edd2e8bf5e (diff) |
Initializers and setval
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index cfaa410b..13c45329 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -320,6 +320,12 @@ fun p_exp' par env (e, _) = | ENextval e => box [string "nextval(", p_exp env e, string ")"] + | ESetval (e1, e2) => box [string "setval(", + p_exp env e1, + string ",", + space, + p_exp env e2, + string ")"] | EUnurlify (e, _) => box [string "unurlify(", p_exp env e, string ")"] @@ -485,6 +491,9 @@ fun p_decl env (dAll as (d, _) : decl) = | DStyle s => box [string "style", space, string s] + | DInitializer e => box [string "initializer", + space, + p_exp env e] fun p_file env file = |