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/Grammar/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Grammar/Parser.hs') diff --git a/src/GF/Grammar/Parser.hs b/src/GF/Grammar/Parser.hs index 699870f18..e9d0d7c3a 100644 --- a/src/GF/Grammar/Parser.hs +++ b/src/GF/Grammar/Parser.hs @@ -753,7 +753,7 @@ happyReduction_3 (happy_x_4 `HappyStk` Ok x -> return x Bad msg -> fail msg let poss = buildTree [(i,(fname,mkSrcSpan p)) | (i,p,_) <- jments] - fname = prIdent id ++ ".gf" + fname = showIdent id ++ ".gf" mkSrcSpan :: (Posn, Posn) -> (Int,Int) mkSrcSpan (Pn l1 _, Pn l2 _) = (l1,l2) -- cgit v1.2.3