summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolegator <olegator@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-03-18 12:28:16 (GMT)
committerolegator <olegator@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-03-18 12:28:16 (GMT)
commit59239656198450d33e02dae5e29bb084c081d52f (patch)
treeb44f8c3356270b413d4912df5db10ae46bc4ad09
parent7aa485a94d8e21cbda6a48ba141ae0b5fcb591a0 (diff)
downloadDoxygen-59239656198450d33e02dae5e29bb084c081d52f.zip
Doxygen-59239656198450d33e02dae5e29bb084c081d52f.tar.gz
Doxygen-59239656198450d33e02dae5e29bb084c081d52f.tar.bz2
Handle multiline back comment.
-rw-r--r--src/fortranscanner.l7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 4983738..f34ff69 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -910,15 +910,14 @@ private {
/*---- documentation comments --------------------------------------------------------------------*/
-<Variable>"!<" { /* backward docu comment (only one line) */
+<Variable,SubprogBody,ModuleBody,TypedefBody>"!<" { /* backward docu comment (only one line) */
if (v_type != V_IGNORE) {
- yy_push_state(YY_START);
current->docLine = yyLineNr;
docBlockJavaStyle = FALSE;
docBlock.resize(0);
docBlockJavaStyle = Config_getBool("JAVADOC_AUTOBRIEF");
startCommentBlock(TRUE);
- BEGIN(DocBackLine);
+ yy_push_state(DocBackLine);
}
}
<DocBackLine>.* { // contents of current comment line
@@ -932,7 +931,7 @@ private {
}
else if (v_type == V_PARAMETER)
{
- parameter->docs=docBlock;
+ parameter->docs+=docBlock;
}
yy_pop_state();
}