Fixed compilation with GCC/Clang

error: use of undeclared identifier 'op'
error: no matching function for call to 'ListEnd'
error: no matching function for call to 'ListGetInt'
error: no matching function for call to 'ListGetDouble'
...
This commit is contained in:
alexey.lysiuk 2017-02-04 18:10:30 +02:00
commit e8c2444ddd
3 changed files with 3 additions and 3 deletions

View file

@ -774,7 +774,7 @@ begin:
OP(NEW_K):
OP(NEW):
{
PClass *cls = (PClass*)(op == OP_NEW ? reg.a[C] : konsta[C].v);
PClass *cls = (PClass*)(pc->op == OP_NEW ? reg.a[C] : konsta[C].v);
reg.a[B] = cls->CreateNew();
NEXTOP;
}