summaryrefslogtreecommitdiff
path: root/src/GFC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GFC.hs')
-rw-r--r--src/GFC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GFC.hs b/src/GFC.hs
index 713f8b7c9..778792878 100644
--- a/src/GFC.hs
+++ b/src/GFC.hs
@@ -74,7 +74,7 @@ writePGF opts pgf = do
putPointE Normal opts ("Writing " ++ outfile ++ "...") $ ioeIO $ encodeFile outfile pgf
grammarName :: Options -> PGF -> String
-grammarName opts pgf = fromMaybe (prCId (absname pgf)) (flag optName opts)
+grammarName opts pgf = fromMaybe (showCId (absname pgf)) (flag optName opts)
writeOutput :: Options -> FilePath-> String -> IOE ()
writeOutput opts file str =