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 254235 - IDE adds space before any macro in Macro Expansion View
Summary: IDE adds space before any macro in Macro Expansion View
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-10 09:49 UTC by soldatov
Modified: 2015-08-12 01:17 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 soldatov 2015-08-10 09:49:17 UTC
IDE adds space before any macro in Macro Expansion View, therefore 6 automatic tests fails.

Scenario:
- C++ file:
#define AA int
#define CC float

int main(int argc, char** argv) {
    AA a = 1;
    int b = 1;
    CC c = 1.0f;
    float d = 1.0f;
    return 0;
}

- Call Macro Expansion View
==>
int main(int argc, char** argv) {
     int a = 1;
    int b = 1;
     float c = 1.0f;
    float d = 1.0f;
    return 0;
}
Comment 1 danilasergeyev 2015-08-11 12:03:55 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/09b1b8f0e3c1
Comment 2 Quality Engineering 2015-08-12 01:17:16 UTC
Integrated into 'main-silver', will be available in build *201508120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/09b1b8f0e3c1
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #254235 IDE adds space before any macro in Macro Expansion View