Generalize 3.7 attribute with LOAD_METHOD

This commit is contained in:
rocky
2018-04-19 19:28:53 -04:00
parent 0aa41058a6
commit c397bf6bda
6 changed files with 1 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -62,9 +62,7 @@ class Python37Parser(Python36Parser):
# Is there a pattern here?
attributes ::= IMPORT_FROM ROT_TWO POP_TOP IMPORT_FROM
# FIXME: generalize and specialize
attribute37 ::= LOAD_FAST LOAD_METHOD
attribute37 ::= LOAD_NAME LOAD_METHOD
attribute37 ::= expr LOAD_METHOD
expr ::= attribute37
# FIXME: generalize and specialize