summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/Rename.hs
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-10-25 14:03:27 +0000
committeraarne <aarne@chalmers.se>2011-10-25 14:03:27 +0000
commit5fd8299805d3e635aa52a5841f23933daac56749 (patch)
tree5db373e1294a591b34e0f759e0200614ef819b85 /src/compiler/GF/Compile/Rename.hs
parent9c506ff64199a924fdc4384a8842723e61318c9d (diff)
qualification with real module name accepted, as in GF refman
Diffstat (limited to 'src/compiler/GF/Compile/Rename.hs')
-rw-r--r--src/compiler/GF/Compile/Rename.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/Compile/Rename.hs b/src/compiler/GF/Compile/Rename.hs
index 2a7f020a9..8cd84a1a0 100644
--- a/src/compiler/GF/Compile/Rename.hs
+++ b/src/compiler/GF/Compile/Rename.hs
@@ -92,6 +92,7 @@ renameIdentTerm env@(act,imps) t =
where
opens = [st | (OSimple _,st) <- imps]
qualifs = [(m, st) | (OQualif m _, st) <- imps] ++
+ [(m, st) | (OQualif _ m, st) <- imps] ++
[(m, st) | (OSimple m, st) <- imps] -- qualif is always possible
-- this facility is mainly for BWC with GF1: you need not import PredefAbs