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 245185 - 'EXIT_SUCCESS' and 'assert' has not semantic highlighting
Summary: 'EXIT_SUCCESS' and 'assert' has not semantic highlighting
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 10:41 UTC by soldatov
Modified: 2014-09-15 10:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (3.49 KB, patch)
2014-08-25 13:52 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-06-23 10:41:25 UTC
Stable failure on my sparc machine (automatic test and manual check)

Scenario:
- Start IDE (Oracle Solaris Studio with all updates) with fresh userdir
- Create Quote project
- Open quote.cc file
- Close file
- Check "return (EXIT_SUCCESS);" line
==> 'EXIT_SUCCESS' is not marked as macro
- Open system.cc file
- Check "assert(i >= 0 && (unsigned)i < moduleList.size());" line
==> 'assert' is not marked as macro

Workaround: edit file
Comment 1 Quality Engineering 2014-06-25 02:31:22 UTC
Integrated into 'main-silver', will be available in build *201406250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b304a98fa4e0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: attempt to fix Bug #245185 'EXIT_SUCCESS' and 'assert' has not semantic highlighting
Comment 2 Alexander Simon 2014-08-25 13:52:30 UTC
Created attachment 148888 [details]
proposed patch
Comment 3 Alexander Simon 2014-08-25 13:53:16 UTC
Vladimir K,
please review fix.
Comment 4 Alexander Simon 2014-08-25 14:26:10 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8083b42c551a
Comment 5 Quality Engineering 2014-08-26 02:44:15 UTC
Integrated into 'main-silver', will be available in build *201408260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8083b42c551a
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #245185 'EXIT_SUCCESS' and 'assert' has not semantic highlighting