Skip to content

Commit

Permalink
Return mapping value, not mapped value for op.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Jan 5, 2011
1 parent 3ccc55f commit 83957ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pmc/packfileopmap.pmc
Expand Up @@ -126,7 +126,9 @@ already in the map, a new map will be created.
VTABLE_push_integer(INTERP, table_ops, op_count);
VTABLE_push_integer(INTERP, lib_ops, op_num);

return op_num;
SET_ATTR_op_count(INTERP, SELF, op_count + 1);

return op_count;
}
return -1;
}
Expand Down

0 comments on commit 83957ef

Please sign in to comment.