Bug 54311 - C++ parser does not detect class definition
Summary: C++ parser does not detect class definition
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Source-Navigator
Classification: Retired
Component: cbrowser
Version: 5.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Syd Polk
QA Contact: Syd Polk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-04 07:06 UTC by greg hosler
Modified: 2007-04-18 16:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-08-23 19:41:07 UTC
Embargoed:


Attachments (Terms of Use)
sample files that C++ parser does not detect class in (3.73 KB, application/octet-stream)
2001-10-05 01:32 UTC, greg hosler
no flags Details

Description greg hosler 2001-10-04 07:06:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686; Nav)

Description of problem:
I found a class defn file (C++ ".h" file) whereby the C++ parser gets
confsed enough
to not detect a class definition. I observe that by altering 2 comment
lines, I can get
the C++ parser to see the class definition. The attachment to this report
includes 2 files.
The original header file (Cep.h) where the class Cep is not detected, and a
Cep.h.fixed
file where the class Cep is detected.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Load project with Cep.h, note that class Cep does not get detected.
2. replace Cep.h with Cep.h.fixed, revert file, and save. Note that class
Cep is now
   detected.
3.
	

Actual Results:  class not detected

Expected Results:  clkass should have been detected

Additional info:

SN 5.0 running on fresh enigma (RH 7.2) installation

Comment 1 greg hosler 2001-10-05 01:32:12 UTC
Created attachment 33421 [details]
sample files that C++ parser does not detect class in

Comment 2 Elliot Lee 2004-08-23 19:41:07 UTC
Closing bugs for old packages that don't have a maintainer.


Note You need to log in before you can comment on or make changes to this bug.