Re: [Doxygen-develop] [Doxygen-users] Fortran Extensions
Brought to you by:
dimitri
From: Albert <alb...@gm...> - 2012-12-13 20:25:56
|
Hi Ken, I did a small test with a FORTRAN file and when the extension is in lowercase the preprocessor is not invoked. When the extension is in uppercase the preprocessor is invoked, but in your documentation you will find of course INTEGER*1 instead of BYTE. This is not really documented as far as I know, but in the code, fortranscanner.l, the following code is present: bool FortranLanguageScanner::needsPreprocessing(const QCString &extension) { return extension!=extension.lower(); // use preprocessor only for upper case extensions } Albert On Wed, Dec 12, 2012 at 6:40 PM, Ken Kazinski <kjk...@ya...> wrote: > Hi Albert, > > I am using Doxygen 1.8.2. I tried to set the predefined and Expand_as_defined to: > > PREDEFINED = BYTE=INTEGER*1 \ > STRUCTRUE=TYPE > > As these are not function macro the documentation leads me to believe that they are not being replaced. > > Thanks for all the help. > > > > --- On Wed, 12/12/12, Albert <alb...@gm...> wrote: > >> From: Albert <alb...@gm...> >> Subject: Re: [Doxygen-users] Fortran Extensions >> To: "Ken Kazinski" <kjk...@ya...> >> Cc: dox...@li... >> Date: Wednesday, December 12, 2012, 10:13 AM >> Hi Ken, >> >> Which version of Doxygen are you using? >> By head I don't know in which version Double Complex entered >> but it is >> in (I found it useful and commonly used). >> The BYTE and STRUCTURE are not in. For BYTE it is easy to >> add and >> shouldn't have side effects , STRUCTURE is a different >> story. >> For BYTE probably an PREDEFINE of INTEGER*1 would work as >> well. For >> the STRUCTURE the best way would be to use a FILER. >> >> Albert >> >> On Wed, Dec 12, 2012 at 3:01 PM, Ken Kazinski <kjk...@ya...> >> wrote: >> > Intel Fortran compilers added a number of extension to >> F77 & F90. >> > >> > I am struggling with getting them to documnet correctly >> in doxygen. The type declarations Double Complex and >> Byte and the key word structure. >> > >> > Is there a way to tell doxygen that these are key words >> without recompiling doxygen with these extensions >> included. It seems that it would be easy to add these >> keywords into the fortranscanner.l and fortancode.l files >> and recompile but things like this that seem easy turn out >> to have a number of unforseen consiquenses. >> > >> > Thanks. >> > >> > >> ------------------------------------------------------------------------------ >> > LogMeIn Rescue: Anywhere, Anytime Remote support for >> IT. Free Trial >> > Remotely access PCs and mobile devices and provide >> instant support >> > Improve your efficiency, and focus on delivering more >> value-add services >> > Discover what IT Professionals Know. Rescue delivers >> > http://p.sf.net/sfu/logmein_12329d2d >> > _______________________________________________ >> > Doxygen-users mailing list >> > Dox...@li... >> > https://lists.sourceforge.net/lists/listinfo/doxygen-users >> |