Menu

#42 Number of Functions always treated as 0

open
nobody
HTML Output (4)
5
2005-03-15
2005-03-15
JakeL7
No

The 3.pre84 source always sets nof=0; an [apparently
obsolete ?] call to find the actual number has been
commented out (I am curious why - something that just
wasn't completed after other changes, or am I missing
something ?).

To fix this, in each "format specific output module"
(cccc_htm.cc, cccc_xml.cc, &c.), in the function
Module_Summary(), find the initialization of nof and
change to :

//@@?- int nof=0;
//@@? JDL - get the actual # funcs (was always 0 !?!!)
int nof=module_ptr->member_map.size();

..this seems to work fine in my testing so far.

Regards,

- Jake

Discussion


Log in to post a comment.