[Doxygen-develop] Different behavior of Doxygen-1.7.5 with Fortran modules
Brought to you by:
dimitri
From: Davide C. <dc...@ar...> - 2011-08-18 11:03:57
|
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: dc...@ar... 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 |