1
0
forked from GitHub/gf-core

Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly.

This commit is contained in:
bjorn
2008-06-02 15:32:01 +00:00
parent 20ea9ea5ec
commit 5073ac4e7f
4 changed files with 22 additions and 16 deletions

View File

@@ -153,5 +153,5 @@ allCommands pgf = Map.fromAscList [
prGrammar opts = case valIdOpts "printer" "" opts of
"cats" -> unwords $ categories pgf
v -> prPGF (read v) pgf
v -> prPGF (read v) pgf (prCId (absname pgf))