In the C language, a function call has a parameter list of assignment-expressions defined as:
argument-expression-list : assignment-expression | argument-expression-list "," assignment-expression ; as well as general expression:
expression : assignment-expression | expression "," assignment-expression ; In the example above, 1 assignment-expression term have 2 potential LHS, and while testing, my self-made parser bumped into error with duplicate production with differing LHS like the examples above. And as C has such grammar, I think there must be a solution.
So Q: how do language parsers deal with these cases?