From 62ef772a2c996f2d7d17529eeee845be90586a78 Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 14 Sep 2009 12:16:02 +0000 Subject: CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings --- src/GF/Source/SourceToGrammar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Source') diff --git a/src/GF/Source/SourceToGrammar.hs b/src/GF/Source/SourceToGrammar.hs index fc7c2b285..21d670768 100644 --- a/src/GF/Source/SourceToGrammar.hs +++ b/src/GF/Source/SourceToGrammar.hs @@ -205,7 +205,7 @@ buildPosTree m = buildTree . mkPoss . filter ((>0) . snd) where (i,p):rest@((_,q):_) -> (i,(name,(p,max p (q-1)))) : mkPoss rest (i,p):[] -> (i,(name,(p,p+100))) : [] --- don't know last line _ -> [] - name = prIdent m ++ ".gf" ---- + name = showIdent m ++ ".gf" ---- transAbsDef :: TopDef -> Err (Either [(Ident, Int, G.Info)] GO.Options) transAbsDef x = case x of -- cgit v1.2.3