diff options
Diffstat (limited to 'src/examples/oc.py')
-rw-r--r-- | src/examples/oc.py | 2 |
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),
|