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
4af88367
Commit
4af88367
authored
Mar 18, 2011
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle multiline back comment.
parent
d5f047ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fortranscanner.l
src/fortranscanner.l
+3
-4
No files found.
src/fortranscanner.l
View file @
4af88367
...
@@ -910,15 +910,14 @@ private {
...
@@ -910,15 +910,14 @@ private {
/*---- documentation comments --------------------------------------------------------------------*/
/*---- documentation comments --------------------------------------------------------------------*/
<Variable
>"!<"
{ /* backward docu comment (only one line) */
<Variable
,SubprogBody,ModuleBody,TypedefBody>"!<"
{ /* backward docu comment (only one line) */
if (v_type != V_IGNORE) {
if (v_type != V_IGNORE) {
yy_push_state(YY_START);
current->docLine = yyLineNr;
current->docLine = yyLineNr;
docBlockJavaStyle = FALSE;
docBlockJavaStyle = FALSE;
docBlock.resize(0);
docBlock.resize(0);
docBlockJavaStyle = Config_getBool("JAVADOC_AUTOBRIEF");
docBlockJavaStyle = Config_getBool("JAVADOC_AUTOBRIEF");
startCommentBlock(TRUE);
startCommentBlock(TRUE);
BEGIN
(DocBackLine);
yy_push_state
(DocBackLine);
}
}
}
}
<DocBackLine>.* { // contents of current comment line
<DocBackLine>.* { // contents of current comment line
...
@@ -932,7 +931,7 @@ private {
...
@@ -932,7 +931,7 @@ private {
}
}
else if (v_type == V_PARAMETER)
else if (v_type == V_PARAMETER)
{
{
parameter->docs=docBlock;
parameter->docs
+
=docBlock;
}
}
yy_pop_state();
yy_pop_state();
}
}
...
...
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