Commit 122a29c7 authored by Ruben Daniels's avatar Ruben Daniels
Browse files

tweak

parent 348afe2d
Showing with 2 additions and 2 deletions
+2 -2
......@@ -70,14 +70,14 @@ class Interpreter {
if !boolLHS { return false }
else {
let otherResult = execSingle(expr.rhs)
return boolLHS && evaluateBoolean(otherResult)
return evaluateBoolean(otherResult)
}
case .ConditionOR:
let boolLHS = evaluateBoolean(result)
if boolLHS { return true }
else {
let otherResult = execSingle(expr.rhs)
return boolLHS || evaluateBoolean(otherResult)
return evaluateBoolean(otherResult)
}
case .Division:
let otherResult = execSingle(expr.rhs)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment