This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 268205
Collapse All | Expand All

(-)a/cnd.completion/src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmResultItem.java (+3 lines)
Lines 470-475 Link Here
470
        CsmInclude lastInclude = null;
470
        CsmInclude lastInclude = null;
471
        boolean isLastIncludeTypeMatch = false;
471
        boolean isLastIncludeTypeMatch = false;
472
        for (CsmInclude inc : currentFile.getIncludes()) {
472
        for (CsmInclude inc : currentFile.getIncludes()) {
473
            if (inc.getStartOffset() < 0) {
474
                continue;
475
            }
473
            if (inc.getEndOffset() <= substOffset) {
476
            if (inc.getEndOffset() <= substOffset) {
474
                if (inc.isSystem() == isSystem) {
477
                if (inc.isSystem() == isSystem) {
475
                    lastInclude = inc;
478
                    lastInclude = inc;

Return to bug 268205