Bug 94173

Summary: importer fails on multiple declarations
Product: [Applications] umbrello Reporter: Jose N Hinckel <hinckel>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: header file

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