Eliminating grammar ambiguity when a rule covers a subset of another
问题 I am trying to build a small bison grammar, but am having an issue with part of the definition. Functions can be called with any expression legal on the right side (expression_list in the grammar) as arguments. The issue arises because on the left side, functions can be defined by assigning to them (an identifier followed by a list of identifiers - assignment_expression and identifier_list in the grammar) My question is how I can eliminate the ambiguity in my grammar, since the statements