diff options
| author | krasimir <krasimir@chalmers.se> | 2009-09-14 12:16:02 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-09-14 12:16:02 +0000 |
| commit | 62ef772a2c996f2d7d17529eeee845be90586a78 (patch) | |
| tree | 3d415cb7c1a10a98172fa2c1192b9ac353f5935e /src/GF/Grammar/Parser.hs | |
| parent | cc151c42790e02d60d6a0ab18c9c56da76f0ea51 (diff) | |
CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings
Diffstat (limited to 'src/GF/Grammar/Parser.hs')
| -rw-r--r-- | src/GF/Grammar/Parser.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
