Hi Carl,
I think that the cpp keys off of the file name, change analyz_dump.f90 to
analyz_dump.F90
and it should work as you expect.
On Thu, Apr 18, 2013 at 7:17 AM, Carl Slater <ce.sla...@yahoo.com> wrote:
> Greetings:
>
> My code looks like: (analyz_dump.f90)
>
> !----------------------------------------------------------------------------------------------------
>
> !> @author me
> !> @brief This dumps out the common structures used by the analysis
> subroutine
>
> #ifdef F90
> MODULE DUMP_API
> contains
> subroutine DUMP(filename)
> #endif
>
> #ifdef F77
> subroutine DUMP(filename)
> #endif
>
> end subroutine DUMP
>
> #ifdef F90
> END Module DUMP_API
> #endif
>
> !----------------------------------------------------------------------------------------------------
> In my DOX file I have:
> ENABLE_PREPROCESSING = YES
> PREDEFINED = F90
>
> When I run doxygen on this I get the error:
> Error in file D:/Users/ae0371t/dox_demo/analyz_dump.f90 line: 21, state: 4
> (line count may be off now due to cut and paste)
>
> If I remove the if defs and trim it down to straight F90 code all is well.
>
> Ideas?
>
> Regards
> Carl
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> 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
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users