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 86683 - Parser incorrect build CSM_QUALIFIED_ID branch for destructors
Summary: Parser incorrect build CSM_QUALIFIED_ID branch for destructors
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 15:27 UTC by alms
Modified: 2008-11-17 19:54 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 alms 2006-10-06 15:27:05 UTC
Parser incorrect build CSM_QUALIFIED_ID branch for destructors.

namespace test {

class Pure 
{

}

}

                                                                               
  test::Pure::~Pure()
Comment 1 alms 2006-10-06 16:02:17 UTC
Example:
--

namespace test {

class Pure 
{
    ~Pure(); 
};

}

test::Pure::~Pure() { }
                                                                               
   -----

In this example CSM_QUALIFIED_ID contains only 'test' and 'Pure', but '~Pure'
stand as "brother" of CSM_QUALIFIED_ID.
Comment 2 alms 2006-10-18 16:30:07 UTC
It is fixed and commented in grammar ("cppparser.g", revision 1.2.2.20). Further
should be corrected 'AstRenderer'
Comment 3 Alexander Simon 2008-11-17 19:54:58 UTC
It seems internal design issue.