Update parsers.py

master
eric 2022-05-10 15:34:25 -04:00
parent 3f38cabd20
commit 0cc9db8aa7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ True
else: else:
boolOperand = Word(alphanums + "-.,_=<>!@$%^&*[]{}:;|/\\") boolOperand = Word(alphanums + "-.,_=<>!@$%^&*[]{}:;|/\\")
boolOperand = boolOperand.setParseAction(self._check) boolOperand = boolOperand.setParseAction(self._check)
self.boolExpr = operatorPrecedence( boolOperand, self.boolExpr = infixNotation(boolOperand,
[ [
("not ", 1, opAssoc.RIGHT, BoolNot), ("not ", 1, opAssoc.RIGHT, BoolNot),
("or", 2, opAssoc.LEFT, BoolOr), ("or", 2, opAssoc.LEFT, BoolOr),