Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Parser error with examples/ansic.jison #114

Closed
electronicwhisper opened this Issue Sep 5, 2012 · 1 comment

Comments

Projects
None yet
2 participants

When I type jison examples/ansic.jison from the command line, I get this error:

Conflict in grammar: multiple actions possible when lookahead token is ELSE in state 332
- reduce by rule: selection_statement -> IF ( expression ) statement
- shift token (then go to state 342)

States with conflicts:
State 332
  selection_statement -> IF ( expression ) statement . #lookaheads= } IDENTIFIER CASE DEFAULT { ; CONSTANT STRING_LITERAL ( INC_OP DEC_OP & * + - ~ ! SIZEOF IF SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN ELSE
  selection_statement -> IF ( expression ) statement .ELSE statement #lookaheads= } IDENTIFIER CASE DEFAULT { ; CONSTANT STRING_LITERAL ( INC_OP DEC_OP & * + - ~ ! SIZEOF IF SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN ELSE
Owner

zaach commented Jan 28, 2013

fixed

@zaach zaach closed this Jan 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment