Summary: ExpressionList is undefined
--- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2009-12-12 10:54:42 PST
CaseStatement is currently written as
case ExpressionList : Statement
Here the grammar refers to ExpressionList, described as a ',' separated list of
Expression. However, Expression is a ',' separated list of AssignExpression.
So this is highly ambiguous. There's no way from the description to
distinguish between AssignExpressions that should be evaluated and ignored, and
cases to be handled.
If we define:
AssignExpression , ExpressionList
then the problem goes away. The text should be adjusted to match.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------