Parse ;; as a single token

This commit is contained in:
Yan Zhulanow
2015-10-02 12:53:34 +03:00
parent 8d5cbeeab0
commit e85d76f9cc
7 changed files with 428 additions and 440 deletions
+4 -5
View File
@@ -30,10 +30,9 @@ JetFile: semicolonBetweenDeclarations.kt
PsiWhiteSpace(' ')
INTEGER_CONSTANT
PsiElement(INTEGER_LITERAL)('1')
PsiElement(SEMICOLON)(';')
PsiElement(SEMICOLON)(';')
PsiElement(SEMICOLON)(';')
PsiElement(SEMICOLON)(';')
PsiErrorElement:Property getter or setter expected
PsiElement(DOUBLE_SEMICOLON)(';;')
PsiElement(DOUBLE_SEMICOLON)(';;')
PsiWhiteSpace('\n')
CLASS
PsiElement(class)('class')
@@ -178,4 +177,4 @@ JetFile: semicolonBetweenDeclarations.kt
<empty list>
PsiElement(SEMICOLON)(';')
PsiWhiteSpace('\n')
PsiElement(RBRACE)('}')
PsiElement(RBRACE)('}')