api fixes

master
Daniel Kolesa 2016-08-30 23:20:21 +01:00
parent fbfaecc4cc
commit 7f900e12af
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ using ostd::Condition;
using cscript::CsState; using cscript::CsState;
using cscript::CsValueRange; using cscript::CsValueRange;
using cscript::CsValue; using cscript::CsValue;
using cscript::StackedValue; using cscript::CsStackedValue;
using cscript::CsBytecodeRef; using cscript::CsBytecodeRef;
using cscript::CsBytecode; using cscript::CsBytecode;
@ -396,7 +396,7 @@ struct ObState: CsState {
} }
} }
if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) { if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) {
StackedValue targetv, sourcev, sourcesv; CsStackedValue targetv, sourcev, sourcesv;
if (!targetv.set_alias(new_ident("target"))) { if (!targetv.set_alias(new_ident("target"))) {
return 1; return 1;