Different behavior of Doxygen-1.7.5 with Fortran modules

Davide Cesari <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hi, and thanks as always for the great work.

I noticed a couple of strange things in new doxygen version when parsing 
Fortran documentation.

The first is that now MODULEs generate classes and not namespaces as 
before, this is confirmed by looking at a svn diff at line 1757/1790

http://doxygen.svn.sourceforge.net/viewvc/doxygen/trunk/src/fortranscanner.l?r1=762&r2=766

Is there a reason for this? IMHO a Fortran module is closer to a 
namespace than to a class and it can itself contain many class 
definitions (in the sense of struct (TYPE), interface or f2003 classes), 
moreover I find it useful to have a separate module list under the 
namespace menu, although the word namespace may seem quite unusual for a 
Fortran programmer, but that's a different problem.

Could this issue be fixed, or treated with a configuration switch, if 
1.7.5 behavior is really desired by anybody?

The second strange behavior is that now the brief class documentation 
within a module seems to be always sorted in alphabetical order 
regardless of the settings of SORT_BRIEF_DOCS. In fact this is connected 
to the previous issue that a module is a class: if reverting in 
fortranscanner.l CLASS_SEC => NAMESPACE_SEC the module becomes a 
namespace and sorting is as expected.

Thank you for your attention, bye, Davide

-- 
============================= Davide Cesari ============================
Servizio IdroMeteoClima - ARPA Emilia Romagna
NWP modelling - Modellistica numerica previsionale
  Phone/Fax: +39 051525926/+39 0516497501
  E-mail:    [email protected]
  Home page: http://www.webalice.it/o.drofa/davide/
  Address:   ARPA-SIM, Viale Silvani 6, 40122 Bologna, Italy
========================================================================


This message has been scanned for malware by Websense. www.websense.com

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.