Hi Fabian,
Very nice small example. I'll have a look in the evening.
Albert
(got message through both channels)
On Tue, May 13, 2014 at 1:42 PM, Fabian Nick <fabian.n...@scai.fraunhofer.de
> wrote:
> Hi Albert,
>
> unfortunately I cannot send you the source file. However I was able to
> boil it down to the one attached. For convenience, I also attached the
> config file I used (it's just the one generated by doxygen -g though...)
>
> Notice the leading blanks.
> The version attached does NOT work. However, if there are equally many
> leading blanks before "subroutine testsub" and "end subroutine" it works!
> Also, removing the module declarations helps as well.
>
> If you need more information, just let me know!
>
> Thanks,
> Fabian
>
> ----- Original Message -----
> > From: "Albert" <albert.te...@gmail.com>
> > To: "Fabian Nick" <fabian.n...@scai.fraunhofer.de>
> > Cc: doxygen-users@lists.sourceforge.net
> > Sent: Tuesday, 13 May, 2014 1:12:57 PM
> > Subject: Re: [Doxygen-users] Error in file XX.f90 line:3468, state 4
> >
> >
> >
> >
> >
> > Hi Fabian,
> >
> >
> > It is always hard to find these kind of errors. What I do is that I
> > reduce the file and see what happens (good old trial and error
> > removing half of the file etc.).
> >
> > Is it possible for you to post the file? (I could have a look in the
> > evening.
> >
> > Albert
> >
> >
> >
> >
> > On Tue, May 13, 2014 at 1:07 PM, Fabian Nick <
> > fabian.n...@scai.fraunhofer.de > wrote:
> >
> >
> > Hi Albert,
> >
> > no the Prepassing line is not present. Just "preprocessing..." and
> > "parsing..."
> > I tried the extra line starting with "!" anyway, but it didn't help.
> >
> > Using 1.8.7 didn't help either, however the error is now reported in
> > line 3467 (as opposed to 3468 before).
> >
> > And yes, the file does compile properly.
> > Are there any constructs (like strings containing '!' in the source)
> > I could look out for?
> >
> > Regards,
> > Fabian
> >
> >
> >
> > ----- Original Message -----
> > > From: "Albert" < albert.te...@gmail.com >
> > > To: "Fabian Nick" < fabian.n...@scai.fraunhofer.de >
> > > Cc: doxygen-users@lists.sourceforge.net
> > > Sent: Tuesday, 13 May, 2014 12:55:10 PM
> > > Subject: Re: [Doxygen-users] Error in file XX.f90 line:3468, state
> > > 4
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Fabian,
> > >
> > > The line number is the number where it saw a problem and in this
> > > case
> > > this is when the file has been completely parsed.
> > > The state 4 means an error with SubprogBody, so something not ended
> > > properly (I assume the file compiles properly).
> > >
> > > You are using version 1.6.1 and the current version is 1.8.7 so an
> > > upgrade would certainly help.
> > > During the run does it say something about prepassing XX.f90 ?
> > > so like:
> > > Reading .../XX.f90
> > > Prepassing fixed form of .../XX.f90
> > > Parsing file XX.f90
> > >
> > > The line
> > > Prepassing fixed form of .../XX.f90
> > > should not be present, if present try to place a ! as fist line in
> > > the XX.f90 file.
> > >
> > >
> > > Anyhow upgrading to 1.8.7 is a very good idea.
> > >
> > >
> > > Albert
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Tue, May 13, 2014 at 11:46 AM, Fabian Nick <
> > > fabian.n...@scai.fraunhofer.de > wrote:
> > >
> > >
> > > Hi everyone,
> > >
> > > when trying to run doxygen on a large (Fortran-)project, I get the
> > > "Error in file XX.f90 line:3468, state 4" error. The interesting
> > > thing is that the file only has 3466 lines...
> > > The file is in fixed format. Somewhere on the web it was said that
> > > enabling the C-preprocessor might help but it doesn't in my case. I
> > > also read that there was a bug which was fixed in version 1.5.6 (I
> > > think), however I'm using version 1.6.1.
> > >
> > > Any advice on what I could try?
> > >
> > > Regards,
> > > Fabian
> > >
> > >
> ------------------------------------------------------------------------------
> > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
> > > FREE
> > > Instantly run your Selenium tests across 300+ browser/OS combos.
> > > Get unparalleled scalability from the best Selenium testing
> > > platform
> > > available
> > > Simple to use. Nothing to install. Get started now for free."
> > > http://p.sf.net/sfu/SauceLabs
> > > _______________________________________________
> > > Doxygen-users mailing list
> > > Doxygen-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/doxygen-users
> > >
> > >
> >
> >
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users