summaryrefslogtreecommitdiff
path: root/src/GF/Compile/ReadFiles.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/ReadFiles.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/ReadFiles.hs')
-rw-r--r--src/GF/Compile/ReadFiles.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/ReadFiles.hs b/src/GF/Compile/ReadFiles.hs
index a8558963e..67535227b 100644
--- a/src/GF/Compile/ReadFiles.hs
+++ b/src/GF/Compile/ReadFiles.hs
@@ -210,4 +210,4 @@ getOptionsFromFile file = do
s <- ioeIO $ readFileIfStrict file
let ls = filter (BS.isPrefixOf (BS.pack "--#")) $ BS.lines s
fs = map (BS.unpack . BS.unwords . BS.words . BS.drop 3) ls
- ioeErr $ liftM moduleOptions $ parseModuleOptions fs
+ ioeErr $ liftM toOptions $ parseModuleOptions fs