Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.

This commit is contained in:
Dave Halter committed 2014-11-19 00:40:16 +01:00
1 parent 535a69e499
commit 3c6d5dafb1
5 files changed
+46 -27

No files matched your search

+2 -2
View File
@@ -56,8 +56,8 @@ class Parser(object):
'classdef': pr.Class,
'funcdef': pr.Function,
'file_input': pr.SubModule,
'import_name': pr.Import,
'import_from': pr.Import,
'import_name': pr.ImportName,
'import_from': pr.ImportFrom,
'break_stmt': pr.KeywordStatement,
'continue_stmt': pr.KeywordStatement,
'return_stmt': pr.ReturnStmt,