forked from GitHub/gf-core
Oops, inverted meaning of optBuildParser.
This commit is contained in:
@@ -61,7 +61,7 @@ optimize opts = cse . suf
|
|||||||
|
|
||||||
buildParser :: Options -> GFCC -> GFCC
|
buildParser :: Options -> GFCC -> GFCC
|
||||||
buildParser opts =
|
buildParser opts =
|
||||||
if moduleFlag optBuildParser opts then id else addParsers
|
if moduleFlag optBuildParser opts then addParsers else id
|
||||||
|
|
||||||
batchCompile :: Options -> [FilePath] -> IOE SourceGrammar
|
batchCompile :: Options -> [FilePath] -> IOE SourceGrammar
|
||||||
batchCompile opts files = do
|
batchCompile opts files = do
|
||||||
|
|||||||
Reference in New Issue
Block a user