mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-08 19:13:27 +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();
|
lastToken= consume();
|
||||||
}
|
}
|
||||||
ICPPASTReferenceOperator refOp = createReferenceOperator();
|
ICPPASTReferenceOperator refOp = createReferenceOperator();
|
||||||
((ASTNode) refOp).setOffsetAndLength(from, lastToken.getEndOffset());
|
((ASTNode) refOp).setOffsetAndLength(from, lastToken.getEndOffset()-from);
|
||||||
collection.add(refOp);
|
collection.add(refOp);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue