Minor. Syntax error cosmetics.
This commit is contained in:
committed by
Andrey Breslav
parent
0d79c65d73
commit
c242ad94fd
@@ -186,7 +186,7 @@ public class KotlinParsing extends AbstractKotlinParsing {
|
|||||||
|
|
||||||
private void checkForUnexpectedSymbols() {
|
private void checkForUnexpectedSymbols() {
|
||||||
while (!eof()) {
|
while (!eof()) {
|
||||||
errorAndAdvance("unexpected symbol");
|
errorAndAdvance("Unexpected symbol");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,17 +10,17 @@ JetFile: fragment.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(IDENTIFIER)('b')
|
PsiElement(IDENTIFIER)('b')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(INTEGER_LITERAL)('4')
|
PsiElement(INTEGER_LITERAL)('4')
|
||||||
+1
-1
@@ -16,5 +16,5 @@ JetFile: unexpectedSymbol.kts
|
|||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiErrorElement:unexpected symbol
|
PsiErrorElement:Unexpected symbol
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
Reference in New Issue
Block a user