Update parsers.py
parent
3f38cabd20
commit
0cc9db8aa7
|
@ -118,7 +118,7 @@ True
|
|||
else:
|
||||
boolOperand = Word(alphanums + "-.,_=<>!@$%^&*[]{}:;|/\\")
|
||||
boolOperand = boolOperand.setParseAction(self._check)
|
||||
self.boolExpr = operatorPrecedence( boolOperand,
|
||||
self.boolExpr = infixNotation(boolOperand,
|
||||
[
|
||||
("not ", 1, opAssoc.RIGHT, BoolNot),
|
||||
("or", 2, opAssoc.LEFT, BoolOr),
|
||||
|
|
Loading…
Reference in New Issue