I used the -v option in yacc to produce a y.output file. At the top of the file it says
State 98 conflicts: 1 shift/reduce
Further down in the file is the following:
state 98
30 selection_stmt: IF '(' expression ')' statement .
31 | IF '(' expression ')' statement . ELSE statement
ELSE shift, and go to state 101
ELSE [reduce using rule 30 (selection_stmt)]
$default reduce using rule 30 (selection_stmt)
What is the conflict, and how can it be fixed?