Loading doc/arch.doc +16 −3 Original line number Original line Diff line number Diff line Loading @@ -190,13 +190,13 @@ could extract information from the XML output. Possible tools could be: Since doxygen uses a lot of \c flex code it is important to understand Since doxygen uses a lot of \c flex code it is important to understand how \c flex works (for this one should read the man page) how \c flex works (for this one should read the man page) and to understand what it is doing when \c flex is parsing some input. and to understand what it is doing when \c flex is parsing some input. Fortunately, when flex is used with the -d option it outputs what rules Fortunately, when flex is used with the `-d` option it outputs what rules matched. This makes it quite easy to follow what is going on for a matched. This makes it quite easy to follow what is going on for a particular input fragment. particular input fragment. To make it easier to toggle debug information for a given flex file I To make it easier to toggle debug information for a given flex file I wrote the following perl script, which automatically adds or removes -d wrote the following perl script, which automatically adds or removes `-d` from the correct line in the Makefile: from the correct line in the \c Makefile: \verbatim \verbatim #!/usr/bin/perl #!/usr/bin/perl Loading Loading @@ -236,6 +236,19 @@ $now = time; utime $now, $now, $file utime $now, $now, $file \endverbatim \endverbatim Another way to get rules matching / debugging information from the flex code is in the following way: \verbatim touch src/<flex code file>.l make LEX="flex -d" \endverbatim to remove the rules / debug information again: \verbatim touch src/<flex codefile>.l make \endverbatim Note that by running doxygen with `-d lex` you get information about which flex codefile is used. \htmlonly \htmlonly Return to the <a href="index.html">index</a>. Return to the <a href="index.html">index</a>. Loading src/fortranscanner.l +1 −1 Original line number Original line Diff line number Diff line Loading @@ -567,7 +567,7 @@ SCOPENAME ({ID}{BS}"::"{BS})* /*------- type definition -------------------------------------------------------------------------------*/ /*------- type definition -------------------------------------------------------------------------------*/ <Start,ModuleBody>^{BS}type/[^a-z0-9] { <Start,ModuleBody>^{BS}type/[^a-z0-9_] { if(YY_START == Start) if(YY_START == Start) { { addModule(NULL); addModule(NULL); Loading Loading
doc/arch.doc +16 −3 Original line number Original line Diff line number Diff line Loading @@ -190,13 +190,13 @@ could extract information from the XML output. Possible tools could be: Since doxygen uses a lot of \c flex code it is important to understand Since doxygen uses a lot of \c flex code it is important to understand how \c flex works (for this one should read the man page) how \c flex works (for this one should read the man page) and to understand what it is doing when \c flex is parsing some input. and to understand what it is doing when \c flex is parsing some input. Fortunately, when flex is used with the -d option it outputs what rules Fortunately, when flex is used with the `-d` option it outputs what rules matched. This makes it quite easy to follow what is going on for a matched. This makes it quite easy to follow what is going on for a particular input fragment. particular input fragment. To make it easier to toggle debug information for a given flex file I To make it easier to toggle debug information for a given flex file I wrote the following perl script, which automatically adds or removes -d wrote the following perl script, which automatically adds or removes `-d` from the correct line in the Makefile: from the correct line in the \c Makefile: \verbatim \verbatim #!/usr/bin/perl #!/usr/bin/perl Loading Loading @@ -236,6 +236,19 @@ $now = time; utime $now, $now, $file utime $now, $now, $file \endverbatim \endverbatim Another way to get rules matching / debugging information from the flex code is in the following way: \verbatim touch src/<flex code file>.l make LEX="flex -d" \endverbatim to remove the rules / debug information again: \verbatim touch src/<flex codefile>.l make \endverbatim Note that by running doxygen with `-d lex` you get information about which flex codefile is used. \htmlonly \htmlonly Return to the <a href="index.html">index</a>. Return to the <a href="index.html">index</a>. Loading
src/fortranscanner.l +1 −1 Original line number Original line Diff line number Diff line Loading @@ -567,7 +567,7 @@ SCOPENAME ({ID}{BS}"::"{BS})* /*------- type definition -------------------------------------------------------------------------------*/ /*------- type definition -------------------------------------------------------------------------------*/ <Start,ModuleBody>^{BS}type/[^a-z0-9] { <Start,ModuleBody>^{BS}type/[^a-z0-9_] { if(YY_START == Start) if(YY_START == Start) { { addModule(NULL); addModule(NULL); Loading