mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-21 15:13:11 -06:00
bug fixed (?) in compilation
This commit is contained in:
1 parent
38a2d080f9
commit
70ac18e908
2 files changed
+8
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user