Minor. Syntax error cosmetics.

This commit is contained in:
Evgeny Gerashchenko
2015-12-17 18:13:10 +03:00
committed by Andrey Breslav
parent 0d79c65d73
commit c242ad94fd
3 changed files with 7 additions and 7 deletions
@@ -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
View File
@@ -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)('}')