mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
Bug 84172 - system includes don't seem to be added to DOM from the first TranslationUnit
This commit is contained in:
parent
cb6ce7f886
commit
9500493981
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class CPopulateASTViewAction extends CBaseVisitorAction implements IPopul
|
|||
|
||||
private void addRoot(IASTNode node) {
|
||||
if (!(node.getNodeLocations().length > 0 &&
|
||||
node.getNodeLocations()[0].getNodeOffset() > 0 &&
|
||||
node.getNodeLocations()[0].getNodeOffset() >= 0 &&
|
||||
node.getNodeLocations()[0].getNodeLength() > 0))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue