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.

Bug 257866

Summary: Code model is not recovered after unrecognized macros
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: petrk
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 257152    
Bug Blocks:    

Description Alexander Simon 2016-02-05 13:17:39 UTC
Minimal test case with zero declarations in file:
===========8<===============
__BEGIN_NAMESPACE_STD

extern FILE *tmpfile (void) __wur;
===========8<===============

when __BEGIN_NAMESPACE_STD is absent then tmpfile is declared
Comment 1 Alexander Simon 2016-02-05 13:20:05 UTC
The bug #257152 performed the first attempt to fix a problem.
But changed grammar resulted in infinite parsing
Comment 2 Vladimir Voskresensky 2016-02-05 13:23:22 UTC
see rollback done in #257152
Comment 3 Vladimir Voskresensky 2016-02-05 13:48:48 UTC
(In reply to Vladimir Voskresensky from comment #2)
> see rollback done in #257152

http://hg.netbeans.org/cnd-main/rev/e20c7343289f
Comment 4 petrk 2016-02-09 12:41:10 UTC

*** This bug has been marked as a duplicate of bug 257901 ***