This commit is contained in:
rocky
2016-12-24 07:45:02 -05:00
parent 7d58dcf6dd
commit e3f4beeb74
11 changed files with 21 additions and 26 deletions

View File

@@ -282,7 +282,7 @@ class Python2Parser(PythonParser):
opname_base, v, customize)
self.seen1024 = True
rule = ('build_list ::= ' + 'expr1024 '*thousands +
'expr32 '*thirty32s + 'expr '*(v%32) + opname)
'expr32 '*thirty32s + 'expr '*(v % 32) + opname)
elif opname == 'LOOKUP_METHOD':
# A PyPy speciality - DRY with parse3
self.add_unique_rule("load_attr ::= expr LOOKUP_METHOD",