summaryrefslogtreecommitdiff
path: root/src/examples/oc.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/oc.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/oc.py')
-rw-r--r--src/examples/oc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/oc.py b/src/examples/oc.py
index 1d49190..77ea195 100644
--- a/src/examples/oc.py
+++ b/src/examples/oc.py
@@ -92,7 +92,7 @@ TYPE = Group((INT | CHAR) + ZeroOrMore("*"))
expr = Forward()
operand = NAME | integer | char | string_
-expr << (operatorPrecedence(operand,
+expr << (infixNotation(operand,
[
(oneOf('! - *'), 1, opAssoc.RIGHT),
(oneOf('++ --'), 1, opAssoc.RIGHT),