diff options
| author | krasimir <krasimir@chalmers.se> | 2009-09-11 13:45:34 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2009-09-11 13:45:34 +0000 |
| commit | 1cdf171251a56baf0867b65a95c9bd59801ff912 (patch) | |
| tree | 837e65fa23f3041c3bbf4b7f1dbfcf63990e09a1 /src/GFC.hs | |
| parent | 28a7c4b5c7659dc18166e06e914fb0a81c1c43bc (diff) | |
polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr
Diffstat (limited to 'src/GFC.hs')
| -rw-r--r-- | src/GFC.hs | 2 |
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 = |
