Closed nolanlawson closed 9 years ago
+1, can confirm that this fixes #246.
Please merge :-), I'm encountering the same problem
+1 i confirm it fixes the issue too
For anyone who's stuck waiting for a merge, you can add this to your package.json
:
"jison": "nolanlawson/jison#246"
It seems that 9e0cc65 introduced a bug in the generated code, such that
this.lexer
is undefined, and so it throws a runtime error.This fixes the bug, and also adds a test to reproduce the error. The test fails before the fix, but succeeds after. I ran the tests and confirmed 100% success and no errors.