Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ** Conflict (shift/reduce) in state 21.
- ** Tokens involved: VAR OPER LPAREN LBRACKET INT FLOAT BOOL BEGIN
- ** The following explanations concentrate on token VAR.
- ** This state is reached from main after reading:
- avg_expr OPER avg_expr
- ** The derivations that appear below have the following common factor:
- ** (The question mark symbol (?) represents the spot where the derivations begin to differ.)
- main
- expr SEMISEMI main
- avg_expr
- call
- (?)
- ** In state 21, looking ahead at VAR, reducing production
- ** call -> avg_expr OPER avg_expr
- ** is permitted because of the following sub-derivation:
- avg_expr simple_expr // lookahead token appears because simple_expr can begin with VAR
- call // lookahead token is inherited
- avg_expr OPER avg_expr .
- ** In state 21, looking ahead at VAR, shifting is permitted
- ** because of the following sub-derivation:
- avg_expr OPER avg_expr
- call
- avg_expr simple_expr
- . VAR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement