Fixed up scope-diving equation.

This commit is contained in:
Jonathan Turner
2009-06-06 16:52:35 +00:00
parent 9ca43e6290
commit e0af874078
2 changed files with 12 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ Boxed_Value eval_token(BoxedCPP_System &ss, TokenPtr node) {
if (node->children.size() > 1) {
for (i = node->children.size()-3; ((int)i) >= 0; i -= 2) {
if (node->children[i+1]->text == "=") {
ss.add_object(node->children[i]->text, retval);
ss.set_object(node->children[i]->text, retval);
}
else {
Param_List_Builder plb;