mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-23 18:21:07 -06:00
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
This commit is contained in:
@@ -24,7 +24,7 @@ width :: Int
|
||||
width = 75
|
||||
|
||||
gslPrinter :: PGF -> CId -> String
|
||||
gslPrinter pgf cnc = renderStyle st $ prGSL $ makeSimpleSRG pgf cnc
|
||||
gslPrinter pgf cnc = renderStyle st $ prGSL $ makeNonLeftRecursiveSRG pgf cnc
|
||||
where st = style { lineLength = width }
|
||||
|
||||
prGSL :: SRG -> Doc
|
||||
|
||||
Reference in New Issue
Block a user