forked from GitHub/gf-core
Renamed removeEmptyCats to bottomUpFilter.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user