diff -r aaecd573ee30 -r d7d7a6bb90cd lvm.js --- a/lvm.js Fri Nov 19 16:04:51 2010 +0000 +++ b/lvm.js Fri Nov 19 16:05:36 2010 +0000 @@ -114,7 +114,7 @@ && (op2.type == "number" || op2.type == "string")) { // Plain addition - return new LValue("number", parseFloat(this.value, 10) + parseFloat(op2.value)); + return this.vm.LValue(parseFloat(this.value, 10) + parseFloat(op2.value, 10)); } else throw "Attempt to perform arithmetic on a "+this.type+" and "+op2.type;