From d1633b98d01233ad6ddf16105955ea9ea79be336 Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 16 Oct 2008 08:27:43 +0000 Subject: Honor --erasing flag from command-line also when compiling existing .gfo to PGF. --- src/GF/Compile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile.hs') diff --git a/src/GF/Compile.hs b/src/GF/Compile.hs index 7aeab6b08..b652779d7 100644 --- a/src/GF/Compile.hs +++ b/src/GF/Compile.hs @@ -74,7 +74,7 @@ optimize opts = cse . suf buildParser :: Options -> PGF -> PGF buildParser opts = - if flag optBuildParser opts then addParsers else id + if flag optBuildParser opts then addParsers opts else id batchCompile :: Options -> [FilePath] -> IOE SourceGrammar batchCompile opts files = do -- cgit v1.2.3