Distinguish between tuple and parenthesized expression

This commit is contained in:
Maxim Shafirov
2011-01-09 00:18:21 +03:00
parent b384c62d64
commit 6eb3a22059
13 changed files with 65 additions and 31 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ JetFile: SimpleExpressions.jet
PsiWhiteSpace(' ')
PsiElement(EQ)('=')
PsiWhiteSpace(' ')
TUPLE
PARENTHESIZED
PsiElement(LPAR)('(')
PsiElement(RPAR)(')')
PsiElement(COMMA)(',')
@@ -266,7 +266,7 @@ JetFile: SimpleExpressions.jet
PsiWhiteSpace(' ')
PsiElement(EQ)('=')
PsiWhiteSpace(' ')
TUPLE
PARENTHESIZED
PsiElement(LPAR)('(')
INTEGER_CONSTANT
PsiElement(INTEGER_LITERAL)('10')