diff options
Diffstat (limited to 'src/GF/Compile/ShellState.hs')
| -rw-r--r-- | src/GF/Compile/ShellState.hs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GF/Compile/ShellState.hs b/src/GF/Compile/ShellState.hs index afc3d61f9..cec179202 100644 --- a/src/GF/Compile/ShellState.hs +++ b/src/GF/Compile/ShellState.hs @@ -162,9 +162,9 @@ emptyStateGrammar = StGr { grammar = M.emptyMGrammar, cf = emptyCF, mcfg = [], - fcfg = [], + fcfg = ([], Map.empty), cfg = [], - pInfo = Prs.buildPInfo [] [] [], + pInfo = Prs.buildPInfo [] ([], Map.empty) [], morpho = emptyMorpho, probs = emptyProbs, loptions = noOptions @@ -401,9 +401,9 @@ stateGrammarOfLangOpt purg st0 l = StGr { grammar = allCan, cf = maybe emptyCF id (lookup l (cfs st)), mcfg = maybe [] id $ lookup l $ mcfgs st, - fcfg = maybe [] id $ lookup l $ fcfgs st, + fcfg = maybe ([],Map.empty) id $ lookup l $ fcfgs st, cfg = maybe [] id $ lookup l $ cfgs st, - pInfo = maybe (Prs.buildPInfo [] [] []) id $ lookup l $ pInfos st, + pInfo = maybe (Prs.buildPInfo [] ([],Map.empty) []) id $ lookup l $ pInfos st, morpho = maybe emptyMorpho id (lookup l (morphos st)), probs = maybe emptyProbs id (lookup l (probss st)), loptions = errVal noOptions $ lookupOptionsCan allCan @@ -444,9 +444,9 @@ stateAbstractGrammar st = StGr { grammar = canModules st, ---- only abstarct ones cf = emptyCF, mcfg = [], - fcfg = [], + fcfg = ([],Map.empty), cfg = [], - pInfo = Prs.buildPInfo [] [] [], + pInfo = Prs.buildPInfo [] ([],Map.empty) [], morpho = emptyMorpho, probs = emptyProbs, loptions = gloptions st ---- |
