Closed pressureless closed 1 year ago
In TatSu 4.4.0, the parameter name will override the grammar name defined in @@grammar::name_in_grammar. In TatSu 5.6.1, the parameter name doesn't work, it will still use name_in_grammar
name
grammar
@@grammar::name_in_grammar
name_in_grammar
tatsu.to_python_sourcecode(grammar, name=None, filename=None, **kwargs)
TatSu 5.7.3 works
In TatSu 4.4.0, the parameter
name
will override thegrammar
name defined in@@grammar::name_in_grammar
. In TatSu 5.6.1, the parametername
doesn't work, it will still usename_in_grammar
tatsu.to_python_sourcecode(grammar, name=None, filename=None, **kwargs)