Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java')
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java
index 32ff909d..ab4db6b1 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/AbstractCommentParser.java
@@ -945,8 +945,13 @@ public abstract class AbstractCommentParser implements JavadocTagConstants {
primitiveToken = token;
consumeToken();
break nextToken;
-
- default:
+ case TerminalTokens.TokenNameLESS:
+ //if '<' token is found after dot (example: identifier.<type>)
+ if ((iToken & 1) == 0 && parserKind == COMPLETION_PARSER) {
+ break nextToken;
+ }
+ //$FALL-THROUGH$
+ default:
if (iToken == 0) {
if (this.identifierPtr >= 0) {
this.lastIdentifierEndPosition = (int) this.identifierPositionStack[this.identifierPtr];

Back to the top