Imports moved from under the script node to top level

This commit is contained in:
Andrey Breslav
2014-03-28 15:48:20 +04:00
parent 7bdc56d895
commit d5eea09146
7 changed files with 61 additions and 40 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
JetFile: Import.kts
PACKAGE_DIRECTIVE
<empty list>
SCRIPT
IMPORT_LIST
IMPORT_DIRECTIVE
PsiElement(import)('import')
PsiWhiteSpace(' ')
@@ -23,7 +23,8 @@ JetFile: Import.kts
PsiElement(IDENTIFIER)('ddd')
PsiElement(DOT)('.')
PsiElement(MUL)('*')
PsiWhiteSpace('\n\n')
PsiWhiteSpace('\n\n')
SCRIPT
BLOCK
FUN
PsiElement(fun)('fun')