Commit c90a9e91 authored by POTTIER Francois's avatar POTTIER Francois

New (erroneous) quick test inputs.

parent 706895dd
Lookahead token is now INT (0-3)
State 0:
Shifting (INT) to state 4
State 4:
Lookahead token is now PLUS (4-5)
Reducing production expr -> INT
State 22:
Shifting (PLUS) to state 11
State 11:
Lookahead token is now PLUS (6-7)
Initiating error handling
At offset 6: syntax error.
(122 + (23 + (2 3)))
Lookahead token is now LPAREN (0-1)
State 0:
Shifting (LPAREN) to state 2
State 2:
Lookahead token is now INT (1-4)
Reducing production nothing ->
State 3:
Shifting (INT) to state 4
State 4:
Lookahead token is now PLUS (5-6)
Reducing production expr -> INT
State 5:
Shifting (PLUS) to state 11
State 11:
Lookahead token is now LPAREN (7-8)
Reducing production optional_dot ->
State 12:
Shifting (LPAREN) to state 2
State 2:
Lookahead token is now INT (8-10)
Reducing production nothing ->
State 3:
Shifting (INT) to state 4
State 4:
Lookahead token is now PLUS (11-12)
Reducing production expr -> INT
State 5:
Shifting (PLUS) to state 11
State 11:
Lookahead token is now LPAREN (13-14)
Reducing production optional_dot ->
State 12:
Shifting (LPAREN) to state 2
State 2:
Lookahead token is now INT (14-15)
Reducing production nothing ->
State 3:
Shifting (INT) to state 4
State 4:
Lookahead token is now INT (16-17)
Reducing production expr -> INT
State 5:
Initiating error handling
At offset 16: syntax error.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment