Fix grammar rule for "expr GET_ITER" in 3.1+

This commit is contained in:
rocky
2019-12-23 11:52:27 -05:00
parent 9f270dce4a
commit 868721595d
3 changed files with 2 additions and 3 deletions

View File

@@ -200,7 +200,6 @@ case $PYVERSION in
[test_context.py]=1 [test_context.py]=1
[test_coroutines.py]=1 # Parse error [test_coroutines.py]=1 # Parse error
[test_curses.py]=1 # Parse error [test_curses.py]=1 # Parse error
[test_cmath.py]=1 # Syntax error - investigate
[test_decorators.py]=1 # Control flow wrt "if elif" [test_decorators.py]=1 # Control flow wrt "if elif"
[test_dis.py]=1 # We change line numbers - duh! [test_dis.py]=1 # We change line numbers - duh!
# ... # ...

View File

@@ -890,7 +890,7 @@ class Python3Parser(PythonParser):
self.addRule( self.addRule(
""" """
expr ::= get_iter expr ::= get_iter
attribute ::= expr GET_ITER get_iter ::= expr GET_ITER
""", """,
nop_func, nop_func,
) )

View File

@@ -493,7 +493,7 @@ class Python37BaseParser(PythonParser):
self.addRule( self.addRule(
""" """
expr ::= get_iter expr ::= get_iter
attribute ::= expr GET_ITER get_iter ::= expr GET_ITER
""", """,
nop_func, nop_func,
) )