mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-09 13:59:32 -06:00
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
This commit is contained in:
@@ -32,7 +32,7 @@ width = 75
|
||||
jsgfPrinter :: Maybe SISRFormat
|
||||
-> PGF
|
||||
-> CId -> String
|
||||
jsgfPrinter sisr pgf cnc = renderStyle st $ prJSGF sisr $ makeSimpleSRG pgf cnc
|
||||
jsgfPrinter sisr pgf cnc = renderStyle st $ prJSGF sisr $ makeNonLeftRecursiveSRG pgf cnc
|
||||
where st = style { lineLength = width }
|
||||
|
||||
prJSGF :: Maybe SISRFormat -> SRG -> Doc
|
||||
|
||||
Reference in New Issue
Block a user