BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
583 stars 162 forks source link

Top-level layout should only apply to a list entrypoint #356

Closed andreasabel closed 3 years ago

andreasabel commented 3 years ago

In the generated test parse, we should only turn on top-level layout if the (first) entrypoint is a list category.

andreasabel commented 3 years ago

This is too eager, we could have a category that is not officially a list category but isomorphic to one.