summaryrefslogtreecommitdiff
path: root/src/GF/API.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/API.hs')
-rw-r--r--src/GF/API.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/API.hs b/src/GF/API.hs
index 950fed731..9eb60ef19 100644
--- a/src/GF/API.hs
+++ b/src/GF/API.hs
@@ -154,7 +154,7 @@ optFile2grammar :: Options -> FilePath -> IOE GFGrammar
optFile2grammar os f
| fileSuffix f == "gfcm" = ioeIO $ liftM firstStateGrammar $ EA.file2grammar f
| otherwise = do
- ((_,_,gr),_) <- compileModule os emptyShellState f
+ ((_,_,gr,_),_) <- compileModule os emptyShellState f
ioeErr $ grammar2stateGrammar os gr
optFile2grammarE :: Options -> FilePath -> IOE GFGrammar