diff --git a/dusk/grammar.py b/dusk/grammar.py index 488a979..7e60305 100644 --- a/dusk/grammar.py +++ b/dusk/grammar.py @@ -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