we-like-parsers / pegen

PEG parser generator for Python
https://we-like-parsers.github.io/pegen/
MIT License
155 stars 33 forks source link

Format the trailer section with the parser class name #19

Closed MatthieuDartiailh closed 3 years ago

MatthieuDartiailh commented 3 years ago

The use of non default name leads to a broken if __name__ == __main__ section before this patch.