summaryrefslogtreecommitdiff
path: root/src/examples/select_parser.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2016-02-07 05:47:23 +0000
committerPaul McGuire <ptmcg@austin.rr.com>2016-02-07 05:47:23 +0000
commit3963d5fdbd16f25d4e94968b823e811df836142d (patch)
tree0329cd5c5951e851e445b6e07b3fd8420424e34b /src/examples/select_parser.py
parent4b24fe8cfb54086ecaec689a7cd229a0430b75c9 (diff)
downloadpyparsing-git-3963d5fdbd16f25d4e94968b823e811df836142d.tar.gz
Removed deprecated class Upcase and deprecated class keepOriginalText; updated examples to remove those symbols, and to replace operatorPrecedence with infixNotation
Diffstat (limited to 'src/examples/select_parser.py')
-rw-r--r--src/examples/select_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/select_parser.py b/src/examples/select_parser.py
index 677fd11..7c53325 100644
--- a/src/examples/select_parser.py
+++ b/src/examples/select_parser.py
@@ -63,7 +63,7 @@ expr_term = (
)
UNARY,BINARY,TERNARY=1,2,3
-expr << operatorPrecedence(expr_term,
+expr << infixNotation(expr_term,
[
(oneOf('- + ~') | NOT, UNARY, opAssoc.RIGHT),
(ISNULL | NOTNULL | NOT + NULL, UNARY, opAssoc.LEFT),