On 13/12/2012 21:30, Albert wrote:
> Hi Ken,
>
> Include files are, at least in Fortran, not read when parsing the code
> (there might be a request somewhere to do this but I'm not sure). When
> trying to parse the inc files separately this will fail most of the
> times as well because the Fortran parser requires that the code /
> declarations etc. are inside a program, module, subroutine, function
> so it does not know what to do with the declarations etc in the .inc
> files.
>
> Albert
>
> On Wed, Dec 12, 2012 at 8:43 PM, Ken Kazinski <kjkazin...@yahoo.com> wrote:
>> It looks as if doxygen is not processing my *.inc files.  They are in the 
>> main fortran file.
>>
>>    INCLUDE 'DISMISDTBL.INC'
>>
>> I added *.inc to the file patterns but I don't doxygen is processing the 
>> *.inc files as source.  They are in my output html.
>>
>> Is there a way to tell doxygen to process these files as fortran files? 
>> without renaming them to *.for?
>>

It should work if you replace Fortran INCLUDE statements with C 
preprocessor #include directives, which are honored by Doxygen with some 
configuration effort, but this may have other effects on your Fortran 
project, e.g. the need to rename sources to *.FOR or *.F90 (uppercase) 
or add command line switches to enable preprocessing in your Fortran 
compiler (if preprocessing is anyway supported by your compiler).

        Davide

------------------------------------------------------------------------------
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
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to