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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user