Contents    Page-10    Prev    Next    Page+10    Index   

A shift-reduce conflict is:

  • A: a case where a reduce could occur without enough preceding shift actions
  • B: an error in a Yacc specification that must be corrected
  • C: unavoidable in some programming languages
  • D: a case where the grammar specifies both shift and reduce actions for some state and input
  • E: an ancient religious disagreement between the Shiftians and Reducalites

    Answer