Feature #10617 ยป 0001-turn-parse-error-on-multiple-assignment-into-warning.patch
parse.y | ||
---|---|---|
{
|
||
switch (nd_type(node)) {
|
||
case NODE_MASGN:
|
||
yyerror("multiple assignment in conditional");
|
||
return 1;
|
||
parser_warn(node->nd_value, "multiple assignment in conditional");
|
||
case NODE_LASGN:
|
||
case NODE_DASGN:
|
||
case NODE_DASGN_CURR:
|