1
0
forked from GitHub/gf-core

Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch.

This commit is contained in:
bjorn
2008-09-26 09:39:04 +00:00
parent 1bcffdce30
commit 65f302bb84

View File

@@ -70,7 +70,7 @@ ebnfPrinter :: PGF -> CId -> String
ebnfPrinter pgf cnc = prSRG $ makeSRG id pgf cnc
makeSRG :: (CFG -> CFG) -> PGF -> CId -> SRG
makeSRG preproces = mkSRG cfgToSRG id
makeSRG = mkSRG cfgToSRG
where
cfgToSRG cfg = [cfRulesToSRGRule rs | (_,rs) <- allRulesGrouped cfg]