fix for current pyparsing
parent
6672fa575b
commit
72a00c88d7
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue