More complete annotate handling

Still have a bit of work to do though.
This commit is contained in:
rocky
2016-10-28 19:52:30 -04:00
parent 2e355b6245
commit ccdd37611c
6 changed files with 191 additions and 174 deletions

View File

@@ -253,9 +253,8 @@ class Python3Parser(PythonParser):
stmt ::= funcdef_annotate
funcdef_annotate ::= mkfunc_annotate designator
annotate_args ::= annotate_args annotate_arg
annotate_args ::= annotate_arg
annotate_arg ::= LOAD_CONST expr
annotate_arg ::= LOAD_CONST
annotate_arg ::= LOAD_NAME
"""
def p_come_from3(self, args):