diff options
| author | aarne <aarne@cs.chalmers.se> | 2006-02-26 11:16:53 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2006-02-26 11:16:53 +0000 |
| commit | 70ac18e908c5c00390239b2361115f8ab292d49d (patch) | |
| tree | cda9b2852176f14ccf0a224da2ece7ee9e650965 /src/GF/UseGrammar | |
| parent | 38a2d080f99750e82018d00393cf29e4eaa380cc (diff) | |
bug fixed (?) in compilation
Diffstat (limited to 'src/GF/UseGrammar')
| -rw-r--r-- | src/GF/UseGrammar/Linear.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GF/UseGrammar/Linear.hs b/src/GF/UseGrammar/Linear.hs index 9d76442ae..d4483bef5 100644 --- a/src/GF/UseGrammar/Linear.hs +++ b/src/GF/UseGrammar/Linear.hs @@ -121,7 +121,10 @@ expandLinTables gr t = case t of -- Do this for an entire grammar: unoptimizeCanon :: CanonGrammar -> CanonGrammar -unoptimizeCanon g@(M.MGrammar ms) = M.MGrammar $ map convMod ms where +unoptimizeCanon g@(M.MGrammar ms) = M.MGrammar $ map (unoptimizeCanonMod g) ms + +unoptimizeCanonMod :: CanonGrammar -> CanonModule -> CanonModule +unoptimizeCanonMod g = convMod where convMod (m, M.ModMod (M.Module (M.MTConcrete a) x flags me os defs)) = (m, M.ModMod (M.Module (M.MTConcrete a) x flags me os (mapTree convDef defs))) convMod mm = mm |
