Resolving Shift/Reduce Conflicts[slide by John Werth.]
The rule for reducing shift/reduce conflicts is:
Our Pascal grammar has a shift/reduce conflict in the case of the if statement; these rules resolve it in favor of shift, which does the right thing.