2.5/2.6 fn name clash

fixes list conprehension problem
This commit is contained in:
rocky
2016-07-08 10:38:56 -04:00
parent 1a2aa41f7d
commit b640d42113
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -12,7 +12,7 @@ class Python25Parser(Python26Parser):
super(Python25Parser, self).__init__(debug_parser) super(Python25Parser, self).__init__(debug_parser)
self.customized = {} self.customized = {}
def p_misc(self, args): def p_misc25(self, args):
''' '''
# If "return_if_stmt" is in a loop, a JUMP_BACK can be emitted. In 2.6 the # If "return_if_stmt" is in a loop, a JUMP_BACK can be emitted. In 2.6 the

View File

@@ -208,7 +208,7 @@ class Python26Parser(Python2Parser):
except_suite ::= c_stmts_opt jmp_abs come_from_pop except_suite ::= c_stmts_opt jmp_abs come_from_pop
''' '''
def p_misc(self, args): def p_misc26(self, args):
''' '''
conditional ::= expr jmp_false expr jf_cf_pop expr come_from_opt conditional ::= expr jmp_false expr jf_cf_pop expr come_from_opt
and ::= expr JUMP_IF_FALSE POP_TOP expr JUMP_IF_FALSE POP_TOP and ::= expr JUMP_IF_FALSE POP_TOP expr JUMP_IF_FALSE POP_TOP