mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SPI: fixed parsing after dot
This commit is contained in:
@@ -126,7 +126,9 @@ public class SPIParserDefinition implements ParserDefinition {
|
||||
}
|
||||
|
||||
private static void parseProviderChar(final PsiBuilder builder) {
|
||||
LOG.assertTrue(builder.getTokenType() == JavaTokenType.IDENTIFIER);
|
||||
final IElementType initialTokenType = builder.getTokenType();
|
||||
if (initialTokenType == null) return;
|
||||
LOG.assertTrue(initialTokenType == JavaTokenType.IDENTIFIER);
|
||||
builder.advanceLexer();
|
||||
final IElementType tokenType = builder.getTokenType();
|
||||
if (tokenType == JavaTokenType.DOT || tokenType == SPITokenType.DOLLAR) {
|
||||
|
||||
Reference in New Issue
Block a user