Skip to content

Commit

Permalink
Fixed a bug regarding boolop ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWeber42 committed Jun 17, 2020
1 parent fd6994a commit 823ae00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dusk/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def boolop(self, op, values: _List):
*remainder, last = values
binop = self.expression(last)

for value in remainder:
for value in reversed(remainder):
binop = make_binary_operator(self.expression(value), op, binop)

return binop
Expand Down

0 comments on commit 823ae00

Please sign in to comment.