Fixed the parser bug when a no-else if was followed by a semicolon and no newline

This commit is contained in:
Andrey Breslav
2011-04-11 17:23:43 +04:00
parent 54050f9de5
commit 69ef281d47
5 changed files with 100 additions and 3 deletions
+1 -1
View File
@@ -880,7 +880,7 @@ JetFile: ControlStructures.jet
THEN
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('b')
PsiElement(SEMICOLON)(';')
PsiElement(SEMICOLON)(';')
PsiWhiteSpace('\n\n ')
IF
PsiElement(if)('if')