diff options
Diffstat (limited to 'src/GF/API.hs')
| -rw-r--r-- | src/GF/API.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GF/API.hs b/src/GF/API.hs index 77bd71849..c3d160bcd 100644 --- a/src/GF/API.hs +++ b/src/GF/API.hs @@ -125,8 +125,8 @@ string2GFCat = string2CFCat optFile2grammar :: Options -> FilePath -> IOE GFGrammar optFile2grammar os f = do - gr <- compileModule os emptyShellState f - ioeErr $ grammar2stateGrammar os (fst gr) + ((_,_,gr),_) <- compileModule os emptyShellState f + ioeErr $ grammar2stateGrammar os gr optFile2grammarE :: Options -> FilePath -> IOE GFGrammar optFile2grammarE = optFile2grammar |
