Question

A "shift/reduce conflict" in an LR parsing table occurs when:

A The parser has to choose between two different reduce actions.
B The parser has to choose between shifting the current input symbol or reducing by a grammar rule.
C The parser has to choose between two different shift actions.
D The input string does not conform to the grammar.
E The grammar contains left recursion.
Practice Next

Hey! Ask a query