Skip to content

Fix build, which is broken by jison 0.4.14+. - #3603

Closed
davidbau wants to merge 1 commit into
jashkenas:masterfrom
dabbler0:jisonversion
Closed

davidbau wants to merge 1 commit into
jashkenas:masterfrom
dabbler0:jisonversion

Conversation

@davidbau

Copy link
Copy Markdown
Contributor

build:parser followed by build:full is broken by the latest jison
releases. I haven't tracked down the problem, but to make the
build work, we should set this to 0.4.13.

build:parser followed by build:full is broken by the latest jison
releases.  I haven't tracked down the problem, but to make the
build work, we should set this to 0.4.13.
@michaelficarra

Copy link
Copy Markdown
Collaborator

There was a backwards-incompatible change in the 0.4.x series? That seems like it should be fixed by jison releasing an emergency 0.4.16 and us depending on ~0.4.16 instead.

@davidbau

Copy link
Copy Markdown
Contributor Author

Filed zaach/jison#243

@jashkenas

Copy link
Copy Markdown
Owner

Is it possible to just fix our usage of the new Jison instead?

lydell added a commit to lydell/coffee-script that referenced this pull request Jan 15, 2015
Since zaach/jison commit 3548861b, `parser.lexer` is never modified anymore (a
copy of it is made, and that copy is modified instead). CoffeeScript itself
modifies `parser.lexer` and then accesses those modifications in the custom
`parser.yy.parseError` function, but that of course does not work anymore. This
commit puts the data that `parser.yy.parseError` needs directly on the `parser`
so that it is not lost.

Supersedes jashkenas#3603. Fixes jashkenas#3608 and zaach/jison#243.
EsrefDurna added a commit to EsrefDurna/coffeescript that referenced this pull request Nov 12, 2025
Since zaach/jison commit 3548861b, `parser.lexer` is never modified anymore (a
copy of it is made, and that copy is modified instead). CoffeeScript itself
modifies `parser.lexer` and then accesses those modifications in the custom
`parser.yy.parseError` function, but that of course does not work anymore. This
commit puts the data that `parser.yy.parseError` needs directly on the `parser`
so that it is not lost.

Supersedes jashkenas#3603. Fixes jashkenas#3608 and zaach/jison#243.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants