summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-06-18 10:19:05 +0000
committerkrasimir <krasimir@chalmers.se>2010-06-18 10:19:05 +0000
commit5dfc9bbc0b87d27b4ef8848a36520605fa868fe3 (patch)
tree780735e66a3c65dbf49cd1c54d79ac41430cb90c /src/runtime
parentfd3cddcf5e70b42936f93c736067ebad29b81d47 (diff)
the automatically generated printnames were just junks. Now we store printnames only if they are explicitly specified.
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/haskell/PGF/Macros.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Macros.hs b/src/runtime/haskell/PGF/Macros.hs
index 445592a9b..1bee56b9b 100644
--- a/src/runtime/haskell/PGF/Macros.hs
+++ b/src/runtime/haskell/PGF/Macros.hs
@@ -115,7 +115,7 @@ contextLength ty = case ty of
-- | Show the printname of function or category
showPrintName :: PGF -> Language -> CId -> String
-showPrintName pgf lang id = lookMap "?" id $ printnames $ lookMap (error "no lang") lang $ concretes pgf
+showPrintName pgf lang id = lookMap (showCId id) id $ printnames $ lookMap (error "no lang") lang $ concretes pgf
term0 :: CId -> Term
term0 = TM . showCId