Better Python 1.4 support

This commit is contained in:
rocky
2018-06-03 03:21:15 -04:00
parent c06ba45991
commit 1df5aa0ef9
8 changed files with 27 additions and 14 deletions

View File

@@ -11,6 +11,10 @@ class Python14Parser(Python15Parser):
# Nothing here yet, but will need to add UNARY_CALL, BINARY_CALL,
# RAISE_EXCEPTION, BUILD_FUNCTION, UNPACK_ARG, UNPACK_VARARG, LOAD_LOCAL,
# SET_FUNC_ARGS, and RESERVE_FAST
# FIXME: should check that this indeed around __doc__
stmt ::= doc_junk
doc_junk ::= LOAD_CONST POP_TOP
"""
def __init__(self, debug_parser=PARSER_DEFAULT_DEBUG):