From 5a881a90dde265720cf2d537787acfc842d0475d Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 8 Oct 2007 12:45:39 +0000 Subject: gfc now generates gfcc with deptypes, defs, printnames --- src/GF/Source/GrammarToSource.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GF/Source') diff --git a/src/GF/Source/GrammarToSource.hs b/src/GF/Source/GrammarToSource.hs index 21382c7bd..0a2715be0 100644 --- a/src/GF/Source/GrammarToSource.hs +++ b/src/GF/Source/GrammarToSource.hs @@ -102,11 +102,11 @@ trAnyDef (i,info) = let i' = tri i in case info of CncCat (Yes ty) Nope _ -> [P.DefLincat [P.PrintDef [mkName i'] (trt ty)]] CncCat pty ptr ppr -> - [P.DefLindef [trDef i' pty ptr]] - ---- P.DefPrintCat [P.PrintDef i' (trt pr)]] + [P.DefLindef [trDef i' pty ptr]] ++ + [P.DefPrintCat [P.PrintDef [mkName i] (trt pr)] | Yes pr <- [ppr]] CncFun _ ptr ppr -> - [P.DefLin [trDef i' nope ptr]] - ---- P.DefPrintFun [P.PrintDef i' (trt pr)]] + [P.DefLin [trDef i' nope ptr]] ++ + [P.DefPrintFun [P.PrintDef [mkName i] (trt pr)] | Yes pr <- [ppr]] {- ---- encoding of AnyInd without changing syntax. AR 20/9/2007 AnyInd s b -> -- cgit v1.2.3