Skip to content
Branch: master
Find file History
nolanlawson Fix this.lexer undefined, fixes #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.
Latest commit 7bcf8b7 Feb 28, 2015
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
actions.js feature(bnf): enable option for token stacks in the parser grammar Apr 5, 2014
api.js fix reentrant parsing Apr 1, 2014
errorlab.js assert.throws isn't someone very special; address it like all the oth… Feb 16, 2013
generator.js Fix this.lexer undefined, fixes #246 Mar 1, 2015
lalr.js assert.throws isn't someone very special; address it like all the oth… Feb 16, 2013
lr0.js
lr1.js fix bug with lr closure operation - fixes #183 Aug 2, 2013
parser-tests.js move modules into external dependencies and byebye narwhal ;( Jan 27, 2013
precedence.js assert.throws isn't someone very special; address it like all the oth… Feb 16, 2013
slr.js assert.throws isn't someone very special; address it like all the oth… Feb 16, 2013
tables.js Update examples, tests and docs with API changes. Jan 27, 2010
You can’t perform that action at this time.