summaryrefslogtreecommitdiff
path: root/src/corify.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-12 11:07:39 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-12 11:07:39 -0500
commit7154db01d1326dc2e0042c650126b7c629e1d7f5 (patch)
treee3f2eab582c8634cefeb2698d79930f02115505e /src/corify.sml
parentd098fe4f553b05d3dc5c670f41ade66d64eb5853 (diff)
-path and -root command-line flags
Diffstat (limited to 'src/corify.sml')
-rw-r--r--src/corify.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corify.sml b/src/corify.sml
index 26205e84..1637744e 100644
--- a/src/corify.sml
+++ b/src/corify.sml
@@ -1025,6 +1025,7 @@ fun corifyDecl mods (all as (d, loc : EM.span), st) =
val (wds, eds) = foldl wrapSgi ([], []) sgis
val wrapper = (L.StrConst wds, loc)
val mst = St.lookupStrById st m
+ val mst = foldl St.lookupStrByName mst ms
val (ds, {inner, outer}) = corifyStr (St.name mst) (wrapper, st)
val st = St.bindStr outer "wrapper" en inner