diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2016-02-07 05:47:23 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2016-02-07 05:47:23 +0000 |
commit | 3963d5fdbd16f25d4e94968b823e811df836142d (patch) | |
tree | 0329cd5c5951e851e445b6e07b3fd8420424e34b /src/examples/select_parser.py | |
parent | 4b24fe8cfb54086ecaec689a7cd229a0430b75c9 (diff) | |
download | pyparsing-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.py | 2 |
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),
|