Skip to content

Commit

Permalink
lang11d: Fix parse tree generation of expr.(key:value, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
lijon committed Mar 16, 2012
1 parent 2f601c1 commit a26410e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/LangSource/Bison/lang11d
Expand Up @@ -316,7 +316,7 @@ msgsend : name blocklist1

SetSymbol(&slot, s_value);
selectornode = newPyrSlotNode(&slot);
$$ = (long)newPyrCallNode(selectornode, (PyrParseNode*)$1, (PyrParseNode*)$5, (PyrParseNode*)$6);
$$ = (long)newPyrCallNode(selectornode, (PyrParseNode*)$1, (PyrParseNode*)$4, (PyrParseNode*)$7);
}
| expr '.' name '(' keyarglist1 optcomma ')' blocklist
{
Expand Down
2 changes: 1 addition & 1 deletion lang/LangSource/Bison/lang11d_tab.cpp
Expand Up @@ -2632,7 +2632,7 @@ yyparse ()

SetSymbol(&slot, s_value);
selectornode = newPyrSlotNode(&slot);
(yyval) = (long)newPyrCallNode(selectornode, (PyrParseNode*)(yyvsp[(1) - (7)]), (PyrParseNode*)(yyvsp[(5) - (7)]), (PyrParseNode*)(yyvsp[(6) - (7)]));
(yyval) = (long)newPyrCallNode(selectornode, (PyrParseNode*)(yyvsp[(1) - (7)]), (PyrParseNode*)(yyvsp[(4) - (7)]), (PyrParseNode*)(yyvsp[(7) - (7)]));
;}
break;

Expand Down

0 comments on commit a26410e

Please sign in to comment.