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() {
|
||||
while (!eof()) {
|
||||
errorAndAdvance("unexpected symbol");
|
||||
errorAndAdvance("Unexpected symbol");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,17 +10,17 @@ JetFile: fragment.kt
|
||||
INTEGER_CONSTANT
|
||||
PsiElement(INTEGER_LITERAL)('1')
|
||||
PsiWhiteSpace('\n')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(RBRACE)('}')
|
||||
PsiWhiteSpace('\n')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(val)('val')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(IDENTIFIER)('b')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(EQ)('=')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(INTEGER_LITERAL)('4')
|
||||
+1
-1
@@ -16,5 +16,5 @@ JetFile: unexpectedSymbol.kts
|
||||
PsiElement(INTEGER_LITERAL)('1')
|
||||
PsiElement(RPAR)(')')
|
||||
PsiWhiteSpace('\n')
|
||||
PsiErrorElement:unexpected symbol
|
||||
PsiErrorElement:Unexpected symbol
|
||||
PsiElement(RBRACE)('}')
|
||||
Reference in New Issue
Block a user