summaryrefslogtreecommitdiff
path: root/src/GF/Compile/GetGrammar.hs
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-10-15 11:38:34 +0000
committerbjorn <bjorn@bringert.net>2008-10-15 11:38:34 +0000
commit1ecb4f63e9765962aab570bf043cb65c22df1e45 (patch)
treec12112454cbd1bb41d2a83864dd795347fa4df81 /src/GF/Compile/GetGrammar.hs
parent60ba93cfbb043ecf0831f182b2044c5e94508d47 (diff)
Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags.
Diffstat (limited to 'src/GF/Compile/GetGrammar.hs')
-rw-r--r--src/GF/Compile/GetGrammar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/GetGrammar.hs b/src/GF/Compile/GetGrammar.hs
index 6f02ac824..f9cdbcc14 100644
--- a/src/GF/Compile/GetGrammar.hs
+++ b/src/GF/Compile/GetGrammar.hs
@@ -38,7 +38,7 @@ import System.Cmd (system)
getSourceModule :: Options -> FilePath -> IOE SourceModule
getSourceModule opts file0 = do
- file <- foldM runPreprocessor file0 (moduleFlag optPreprocessors opts)
+ file <- foldM runPreprocessor file0 (flag optPreprocessors opts)
string <- readFileIOE file
let tokens = myLexer string
mo1 <- ioeErr $ pModDef tokens