Hi Albert,

This helped me to determine that doxygen is not parsing the cpp code in my
F90 files,
the documentation in the manual suggests that the c-preprocessor is run
first but does
this step get bypassed for fortran files and if so is there a way not to
bypass it?

Thanks,

On Sat, Mar 16, 2013 at 4:28 AM, Albert <albert.te...@gmail.com> wrote:

> HI Jim,
>
> small adjustment / enhancement in respect to the "-d option" I meant
> that the fortranscanner.l has to be translated using flex with the -d
> option so I use in this case (after a touch of fortranscanner.l)
> LEX="flex -d" with the make command.
> For these debugging options see also the manual
> (http://www.stack.nl/~dimitri/doxygen/manual/arch.html section about
> debugging)
>
> Albert
>
> On Sat, Mar 16, 2013 at 10:40 AM, Albert <albert.te...@gmail.com> wrote:
> > Hi Jim,
> >
> > Which version of Doxygen are you using?
> > These error messages come from a mismatch in the code so the parser
> > gets confused. The mentioned states of the FORTRAN scanner are:
> > • State SubprogBody = 4
> > • State ModuleBody = 10
> > • State ModuleBodyContains = 11
> >
> > I have even seen cases where one file influences the next file.
> >
> > The way I solve the problem is by using an executable in which the -d
> > option is used for the FORTRAN scanner and interpret the output and by
> > making the file smaller and smaller.
> >
> > Albert
> >
> >
> > On Fri, Mar 15, 2013 at 8:27 PM, Jim Edwards <jedwa...@ucar.edu> wrote:
> >> What do these mean?
> >>
> >> ********************************************************************
> >> Error in file /home/jedwards/pio/pio_trunk/pio/box_rearrange.F90 line:
> 3638,
> >> state: 11
> >> ********************************************************************
> >> ********************************************************************
> >> Error in file /home/jedwards/pio/pio_trunk/pio/pio_support.F90 line:
> 634,
> >> state: 10
> >> ********************************************************************
> >> ********************************************************************
> >> Error in file /home/jedwards/pio/pio_trunk/pio/piodarray.F90 line: 5110,
> >> state: 10
> >> ********************************************************************
> >> ********************************************************************
> >> Error in file /home/jedwards/pio/pio_trunk/pio/pionfput_mod.F90 line:
> 6676,
> >> state: 4
> >> ********************************************************************
> >>
> >> --
> >> Jim Edwards
> >>
> >> CESM Software Engineering Group
> >> National Center for Atmospheric Research
> >> Boulder, CO
> >> 303-497-1842
> >>
> >>
> ------------------------------------------------------------------------------
> >> Everyone hates slow websites. So do we.
> >> Make your web apps faster with AppDynamics
> >> Download AppDynamics Lite for free today:
> >> http://p.sf.net/sfu/appdyn_d2d_mar
> >> _______________________________________________
> >> Doxygen-users mailing list
> >> Doxygen-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/doxygen-users
> >>
>



-- 
Jim Edwards

CESM Software Engineering Group
National Center for Atmospheric Research
Boulder, CO
303-497-1842
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to