diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-01 12:48:06 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-01 12:48:06 -0500 |
commit | 869bd80eacff24151b92e496ee6b0cade56d9e59 (patch) | |
tree | 3c64d22855203be239df77b4bd617fbcf3a6257a /src/cjr_print.sml | |
parent | 66ea568ab5cd2b187a305ef6d22c8cfaf2a6c629 (diff) |
Proper [un]urlification of unit
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r-- | src/cjr_print.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index 9f63edaf..93f50de2 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -565,14 +565,14 @@ fun unurlify fromClient env (t, loc) = let fun unurlify' rf t = case t of - TFfi ("Basis", "unit") => string "uw_unit_v" + TFfi ("Basis", "unit") => string "uw_Basis_unurlifyUnit(ctx, &request)" | TFfi ("Basis", "string") => string (if fromClient then "uw_Basis_unurlifyString_fromClient(ctx, &request)" else "uw_Basis_unurlifyString(ctx, &request)") | TFfi (m, t) => string ("uw_" ^ ident m ^ "_unurlify" ^ capitalize t ^ "(ctx, &request)") - | TRecord 0 => string "uw_unit_v" + | TRecord 0 => string "uw_Basis_unurlifyUnit(ctx, &request)" | TRecord i => let val xts = E.lookupStruct env i |