You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Extend Python 3.0 "or" grammar rule
This commit is contained in:
@@ -73,6 +73,7 @@ class Python30Parser(Python31Parser):
|
|||||||
_jump POP_TOP
|
_jump POP_TOP
|
||||||
jump_except ::= JUMP_FORWARD POP_TOP
|
jump_except ::= JUMP_FORWARD POP_TOP
|
||||||
or ::= expr jmp_false expr jmp_true expr
|
or ::= expr jmp_false expr jmp_true expr
|
||||||
|
or ::= expr jmp_true expr
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# In many ways 3.0 is like 2.6. One similarity is there is no JUMP_IF_TRUE and
|
# In many ways 3.0 is like 2.6. One similarity is there is no JUMP_IF_TRUE and
|
||||||
|
Reference in New Issue
Block a user