Parse ;; as a single token
This commit is contained in:
+4
-5
@@ -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)('}')
|
||||
Reference in New Issue
Block a user