Bug 94173 - importer fails on multiple declarations
Summary: importer fails on multiple declarations
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 18:36 UTC by Jose N Hinckel
Modified: 2004-12-01 21:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
header file (6.91 KB, text/plain)
2004-11-30 18:40 UTC, Jose N Hinckel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose N Hinckel 2004-11-30 18:36:15 UTC
Version:           1.3.1 (using KDE 3.3.1, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:                Linux (i686) release 2.4.20-4GB

A number of attributes in the class header file will not show on the umbrello class diagram.
Header file attached.
List of attributes not showing on the class diagram:
felecLevels,
fvibLevels,
felecE,
fwe, ... and lots more.

Parser might get confused with declaration of more than one variables of the same type in one stroke.

(e.g)   double *felecE,	// Electronic energies
	*fwe,	// Harmonic vibrational constants
	*fwexe,*fweye,*fweze,// Anharmonic constants
	*fbe,			// Rotational constant
	*falphax,*falphay,*falphaz, // corrections
	*fde,*fbetae;		// Rotational constants
Comment 1 Jose N Hinckel 2004-11-30 18:40:10 UTC
Created attachment 8495 [details]
header file

header file containing declaration of a gas species
Comment 2 Oliver Kellogg 2004-12-01 21:10:09 UTC
CVS commit by okellogg: 

Handle interspersed comments in comma separated lists.
BUG:94173


  M +11 -6     ChangeLog   1.42
  M +45 -11    umbrello/classparser/parser.cpp   1.9