Hi Albrecht, > Normal convention in the Fortran world is that lowercase extension is > not preprocessed and uppercase extension is preprocessed. So I don't > think it would be wise to do this.
Yeah, true point. However, it works for our current situation. We are about to rearrange a couple of things anyway, so we'll see. Thanks, Fabian * From: Albert (albert.te...@gmail.com) * To: Fabian Nick (fabian.n...@scai.fraunhofer.de) * Sent: 02.07.2014 at 15:46 +0200 * Subject: Re: [Doxygen-users] Preprocessing + different subroutine headers (FORTRAN) > Fabian, > > F90 is already supported, as extension and will automatically do the > preprocessing. The preprocessing of Fortran file is governed by the routine: > bool FortranLanguageScanner::needsPreprocessing(const QCString &extension) > { > return extension!=extension.lower(); // use preprocessor only for > upper case extensions > } > in fortranscanner.l > > Your question regarding to do always preprocessing : > Normal convention in the Fortran world is that lowercase extension is > not preprocessed and uppercase extension is preprocessed. So I don't > think it would be wise to do this. > > Albert > > > > On Wed, Jul 2, 2014 at 3:35 PM, Fabian Nick > <fabian.n...@scai.fraunhofer.de <mailto:fabian.n...@scai.fraunhofer.de>> > wrote: > > Albert, > > forget my last message. > > However it would be nice if I could build a version where *.f90 is > preprocessed as well... Any chance to do so?! > > > Fabian > > > * From: Albert (albert.te...@gmail.com <mailto:albert.te...@gmail.com>) > * To: Fabian Nick (fabian.nick@scai.fraunhofer.__de > <mailto:fabian.n...@scai.fraunhofer.de>) > * Sent: 02.07.2014 at 15:01 +0200 > * Subject: Re: [Doxygen-users] Preprocessing + different subroutine > headers (FORTRAN) > > Hi Fabian, > > > I see you use the extension f90, to enable preprocessing for > Fortran you > have to use F90 as extension. > > Albert > > > On Wed, Jul 2, 2014 at 2:36 PM, Fabian Nick > <fabian.nick@scai.fraunhofer.__de > <mailto:fabian.n...@scai.fraunhofer.de> > <mailto:fabian.nick@scai.__fraunhofer.de > <mailto:fabian.n...@scai.fraunhofer.de>>> > > wrote: > > Hi all, > > I'm using doxygen 1.8.7 and I set ENABLE_PREPROCESSING = yes. > However, when I parse a file with the following content > > #ifndef FOO > subroutine bar(arg1, arg2) > #else > subroutine bar(arg1) > #endif > end subroutine bar > > I get a state 4 error: > Error in file ...doxybug.f90 line: 7, state: 4 > > I see why doxygen might be struggling here; is there any > way to work > aroung this? The meaning of the source code cannot be > changed though... > > By the way: bar(arg1, arg2) in the else-section doesn't > work either. > > > Cheers, > Fabian > > > > ------------------------------__------------------------------__------------------ > Open source business process management suite built on Java > and Eclipse > Turn processes into business applications with Bonita BPM > Community > Edition > Quickly connect people, data, and systems into organized > workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _________________________________________________ > Doxygen-users mailing list > Doxygen-users@lists.__sourceforge.net > <mailto:Doxygen-users@lists.sourceforge.net> > <mailto:Doxygen-users@lists.__sourceforge.net > <mailto:Doxygen-users@lists.sourceforge.net>> > https://lists.sourceforge.net/__lists/listinfo/doxygen-users > <https://lists.sourceforge.net/lists/listinfo/doxygen-users> > > > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users