1
0

Fix PushImm

This commit is contained in:
otya128
2016-12-18 18:54:27 +09:00
parent f948e6263e
commit e4b7b9f4c6

View File

@@ -352,6 +352,12 @@ class Push : Code
}
override void execute(VM vm)
{
if (imm.type == ValueType.String)
{
//copy
vm.push(Value(imm.castDString));
return;
}
vm.push(imm);
}
override string toString(VM vm)