mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
New Java parser (incomplete parenthesized expression parsing fixed)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
PsiJavaFile:Parenth2.java
|
||||
PsiParenthesizedExpression:(
|
||||
PsiJavaToken:LPARENTH('(')
|
||||
PsiErrorElement:Expression expected
|
||||
<empty list>
|
||||
+1
@@ -49,6 +49,7 @@ public class ExpressionParserTest extends JavaParsingTestCase {
|
||||
|
||||
public void testParenth0() { doParserTest("(c)"); }
|
||||
public void testParenth1() { doParserTest("(this).f--"); }
|
||||
public void testParenth2() { doParserTest("("); }
|
||||
|
||||
public void testNewInExprList() { doParserTest("call(new)"); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user