GerHobbelt / jison

bison / YACC / LEX in JavaScript (LALR(1), SLR(1), etc. lexer/parser generator)
https://gerhobbelt.github.io/jison/
MIT License
118 stars 20 forks source link

discarded (*unused*) rules still show up in the generated `performAction` code. #4

Closed GerHobbelt closed 7 years ago

GerHobbelt commented 7 years ago

This is not dangerous, but it bloats the generated function in the parser with dead code.

GerHobbelt commented 7 years ago

fixed (test passes)