couple more tuple leftovers
This commit is contained in:
@@ -77,7 +77,6 @@ public class JetExpressionParsing extends AbstractJetParsing {
|
||||
COLONCOLON, // callable reference
|
||||
|
||||
LPAR, // parenthesized
|
||||
HASH, // Tuple
|
||||
|
||||
// literal constant
|
||||
TRUE_KEYWORD, FALSE_KEYWORD,
|
||||
@@ -88,8 +87,6 @@ public class JetExpressionParsing extends AbstractJetParsing {
|
||||
LBRACE, // functionLiteral
|
||||
FUN_KEYWORD, // expression function
|
||||
|
||||
LPAR, // tuple
|
||||
|
||||
THIS_KEYWORD, // this
|
||||
SUPER_KEYWORD, // super
|
||||
|
||||
|
||||
+11
-7
@@ -18,13 +18,17 @@ JetFile: ShebangIncorrect.kts
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:Expecting an element
|
||||
PsiElement(HASH)('#')
|
||||
PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
|
||||
PsiElement(EXCL)('!')
|
||||
PsiElement(DIV)('/')
|
||||
PsiElement(IDENTIFIER)('usr')
|
||||
PsiWhiteSpace('\n\n')
|
||||
PsiErrorElement:Expecting an element
|
||||
PsiElement(HASH)('#')
|
||||
BINARY_EXPRESSION
|
||||
PREFIX_EXPRESSION
|
||||
OPERATION_REFERENCE
|
||||
PsiElement(EXCL)('!')
|
||||
PsiErrorElement:Expecting an element
|
||||
PsiElement(DIV)('/')
|
||||
OPERATION_REFERENCE
|
||||
PsiElement(IDENTIFIER)('usr')
|
||||
PsiWhiteSpace('\n\n')
|
||||
PsiErrorElement:Expecting an element
|
||||
PsiElement(HASH)('#')
|
||||
PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
|
||||
PsiElement(EXCL)('!')
|
||||
PsiElement(DIV)('/')
|
||||
|
||||
Reference in New Issue
Block a user