mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Restrict references, 2nd try, bug 227110.
This commit is contained in:
parent
b7ca58a629
commit
77a468323d
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ public class GNUCPPSourceParser extends AbstractGNUSourceCodeParser {
|
|||
lastToken= consume();
|
||||
}
|
||||
ICPPASTReferenceOperator refOp = createReferenceOperator();
|
||||
((ASTNode) refOp).setOffsetAndLength(from, lastToken.getEndOffset());
|
||||
((ASTNode) refOp).setOffsetAndLength(from, lastToken.getEndOffset()-from);
|
||||
collection.add(refOp);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue