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
commita91077596a525b0456a2c234df4a7b0cd1c6ff9f (patch)
treee3f2eab582c8634cefeb2698d79930f02115505e /src/corify.sml
parentb7b292f806c4e26b23ede86c5ee3167f62148867 (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