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

`parseParams` is a bit of a mess: is it tracked as part of the options or the grammar? #33

Open GerHobbelt opened 6 years ago

GerHobbelt commented 6 years ago

parseParams lives in the generator, grammar and options, while the options.parseParams don't seem to be copied into the others while grammar.parseParams gets propagated into the generator.parseParams... 🤔