fix for current pyparsing

dj111py38
eric 2022-05-10 15:43:38 -04:00
parent 6672fa575b
commit 72a00c88d7
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),