parent
9d27917fea
commit
d3c9d06aa4
|
@ -119,7 +119,7 @@ static bool conditionIsFalse(const Token *condition, const ProgramMemory &progra
|
||||||
return false;
|
return false;
|
||||||
if (condition->str() == "&&") {
|
if (condition->str() == "&&") {
|
||||||
return conditionIsFalse(condition->astOperand1(), programMemory) ||
|
return conditionIsFalse(condition->astOperand1(), programMemory) ||
|
||||||
conditionIsFalse(condition->astOperand2(), programMemory);
|
conditionIsFalse(condition->astOperand2(), programMemory);
|
||||||
}
|
}
|
||||||
ProgramMemory progmem(programMemory);
|
ProgramMemory progmem(programMemory);
|
||||||
MathLib::bigint result = 0;
|
MathLib::bigint result = 0;
|
||||||
|
@ -139,7 +139,7 @@ static bool conditionIsTrue(const Token *condition, const ProgramMemory &program
|
||||||
return false;
|
return false;
|
||||||
if (condition->str() == "||") {
|
if (condition->str() == "||") {
|
||||||
return conditionIsTrue(condition->astOperand1(), programMemory) ||
|
return conditionIsTrue(condition->astOperand1(), programMemory) ||
|
||||||
conditionIsTrue(condition->astOperand2(), programMemory);
|
conditionIsTrue(condition->astOperand2(), programMemory);
|
||||||
}
|
}
|
||||||
ProgramMemory progmem(programMemory);
|
ProgramMemory progmem(programMemory);
|
||||||
bool error = false;
|
bool error = false;
|
||||||
|
|
Loading…
Reference in New Issue