Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
parsers
Commits
122a29c7
Commit
122a29c7
authored
5 years ago
by
Ruben Daniels
Browse files
Options
Download
Email Patches
Plain Diff
tweak
parent
348afe2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
memri-parser/expression-parser/Interpreter.swift
+2
-2
memri-parser/expression-parser/Interpreter.swift
with
2 additions
and
2 deletions
+2
-2
memri-parser/expression-parser/Interpreter.swift
+
2
-
2
View file @
122a29c7
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets