Assignments can appear in the middle of a ternary expression
This commit is contained in:
parent
4b6d0d9ea2
commit
ad41c3b14f
|
@ -759,7 +759,7 @@ assignmentOperator
|
|||
;
|
||||
|
||||
conditionalExpression
|
||||
: conditionalOrExpression ( '?' conditionalExpression ':' conditionalExpression )?
|
||||
: conditionalOrExpression ( '?' expression ':' conditionalExpression )?
|
||||
;
|
||||
|
||||
conditionalOrExpression
|
||||
|
|
Loading…
Reference in New Issue