Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
31a72d0a
Commit
31a72d0a
authored
Mar 13, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:doxygen/doxygen
parents
ff00706a
4c707ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
arch.doc
doc/arch.doc
+16
-3
fortranscanner.l
src/fortranscanner.l
+1
-1
No files found.
doc/arch.doc
View file @
31a72d0a
...
...
@@ -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
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.
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
particular input fragment.
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
from the correct line in the Makefile:
wrote the following perl script, which automatically adds or removes
`-d`
from the correct line in the
\c
Makefile:
\verbatim
#!/usr/bin/perl
...
...
@@ -236,6 +236,19 @@ $now = time;
utime $now, $now, $file
\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
Return to the <a href="index.html">index</a>.
...
...
src/fortranscanner.l
View file @
31a72d0a
...
...
@@ -567,7 +567,7 @@ SCOPENAME ({ID}{BS}"::"{BS})*
/*------- type definition -------------------------------------------------------------------------------*/
<Start,ModuleBody>^{BS}type/[^a-z0-9
]
{
<Start,ModuleBody>^{BS}type/[^a-z0-9
_]
{
if(YY_START == Start)
{
addModule(NULL);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment