Fix precedence bugs, test on homework
This commit is contained in:
@@ -572,8 +572,7 @@ state 28
|
||||
(4) E -> E . AOP E
|
||||
(8) E -> E . SEMICOLON E
|
||||
|
||||
! shift/reduce conflict for AOP resolved as shift
|
||||
! shift/reduce conflict for SEMICOLON resolved as shift
|
||||
SEMICOLON reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
$end reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
RPAREN reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
EQOP reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
@@ -585,10 +584,9 @@ state 28
|
||||
DO reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
RBRACE reduce using rule 7 (E -> ID ASSIGN E .)
|
||||
AOP shift and go to state 8
|
||||
SEMICOLON shift and go to state 9
|
||||
|
||||
! AOP [ reduce using rule 7 (E -> ID ASSIGN E .) ]
|
||||
! SEMICOLON [ reduce using rule 7 (E -> ID ASSIGN E .) ]
|
||||
! SEMICOLON [ shift and go to state 9 ]
|
||||
|
||||
|
||||
state 29
|
||||
@@ -783,7 +781,6 @@ state 38
|
||||
(4) E -> E . AOP E
|
||||
(8) E -> E . SEMICOLON E
|
||||
|
||||
SEMICOLON reduce using rule 1 (E -> LET D IN E .)
|
||||
$end reduce using rule 1 (E -> LET D IN E .)
|
||||
RPAREN reduce using rule 1 (E -> LET D IN E .)
|
||||
EQOP reduce using rule 1 (E -> LET D IN E .)
|
||||
@@ -795,9 +792,10 @@ state 38
|
||||
DO reduce using rule 1 (E -> LET D IN E .)
|
||||
RBRACE reduce using rule 1 (E -> LET D IN E .)
|
||||
AOP shift and go to state 8
|
||||
SEMICOLON shift and go to state 9
|
||||
|
||||
! AOP [ reduce using rule 1 (E -> LET D IN E .) ]
|
||||
! SEMICOLON [ shift and go to state 9 ]
|
||||
! SEMICOLON [ reduce using rule 1 (E -> LET D IN E .) ]
|
||||
|
||||
|
||||
state 39
|
||||
@@ -1130,8 +1128,6 @@ WARNING:
|
||||
WARNING: Conflicts:
|
||||
WARNING:
|
||||
WARNING: shift/reduce conflict for ID in state 23 resolved as shift
|
||||
WARNING: shift/reduce conflict for AOP in state 28 resolved as shift
|
||||
WARNING: shift/reduce conflict for SEMICOLON in state 28 resolved as shift
|
||||
WARNING: shift/reduce conflict for EQOP in state 45 resolved as shift
|
||||
WARNING: shift/reduce conflict for LOP in state 45 resolved as shift
|
||||
WARNING: shift/reduce conflict for COMMA in state 56 resolved as shift
|
||||
|
||||
Reference in New Issue
Block a user