ohmjs / ohm

A library and language for building parsers, interpreters, compilers, etc.
MIT License
5.01k stars 217 forks source link

grammar name of test example does not track grammar name changes #429

Open guitarvydas opened 1 year ago

guitarvydas commented 1 year ago

issue: grammar name of test example does not track grammar name changes

how: 1) create a working grammar and test case - in this example, I created a grammar called CSS 2) change the name of the grammar - in this case, I changed it to newCSS

result: the previously-working test case now fails ; the previously-working test case still refers to a "Start rule:" of the previous grammar (CSS) and not the new grammar (newCSS). Screenshot 2023-03-04 at 9 45 05 AM