Renamed removeEmptyCats to bottomUpFilter.

This commit is contained in:
bringert
2007-03-20 21:15:59 +00:00
parent fbe8282027
commit a8d356d599
3 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ cfgToFA opts s = minimize $ compileAutomaton start $ makeSimpleRegular s
where start = getStartCatCF opts s
makeSimpleRegular :: StateGrammar -> CFRules
makeSimpleRegular = makeRegular . removeIdenticalRules . removeEmptyCats . cfgToCFRules
makeSimpleRegular = makeRegular . removeIdenticalRules . bottomUpFilter . cfgToCFRules
--
-- * Approximate context-free grammars with regular grammars.