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 - Code model is not recovered after unrecognized macros
Summary: Code model is not recovered after unrecognized macros
Status: RESOLVED DUPLICATE of bug 257901
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on: 257152
Blocks:
  Show dependency tree
 
Reported: 2016-02-05 13:17 UTC by Alexander Simon
Modified: 2016-02-09 12:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***