Start handling pypy 2.7

Need to understand whether we care compiling pypy.
Pypy 2.7 list comprehensions are different and use
its own opcode.
This commit is contained in:
rocky
2016-07-21 02:58:00 -04:00
parent d1ef0bf21b
commit 7c4316d4fb
20 changed files with 112 additions and 39 deletions

View File

@@ -15,6 +15,8 @@ class Python27Parser(Python2Parser):
def p_list_comprehension27(self, args):
"""
list_for ::= expr _for designator list_iter JUMP_BACK
list_compr ::= expr BUILD_LIST_FROM_ARG _for designator list_iter JUMP_BACK
"""
def p_try27(self, args):