Isolate pseudo op IMPORT_NAME_CONT

I think this is a holdover from pre 2.3 days. Possibly it can be dropped altogether.
This commit is contained in:
rocky
2016-07-14 20:02:47 -04:00
parent c9d1f72424
commit 0ee52aeeef
5 changed files with 13 additions and 14 deletions

View File

@@ -322,8 +322,6 @@ class PythonParser(GenericASTBuilder):
importstmt ::= LOAD_CONST LOAD_CONST import_as
importstar ::= LOAD_CONST LOAD_CONST IMPORT_NAME IMPORT_STAR
importfrom ::= LOAD_CONST LOAD_CONST IMPORT_NAME importlist2 POP_TOP
importstar ::= LOAD_CONST LOAD_CONST IMPORT_NAME_CONT IMPORT_STAR
importfrom ::= LOAD_CONST LOAD_CONST IMPORT_NAME_CONT importlist2 POP_TOP
importmultiple ::= LOAD_CONST LOAD_CONST import_as imports_cont
imports_cont ::= imports_cont import_cont