summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-10-21 18:04:11 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-10-21 18:04:11 (GMT)
commita6c6c59d9b6cc05b9c92b23b5b1840832ed93d81 (patch)
tree38dde1adf401cbf624ecce0905b8f8d2885f9339 /src
parentb0087ebecb62e87cab3f4bdea919f58e0943fd27 (diff)
parentb9145da402cd49c4c4e888a31dc17612387b1321 (diff)
downloadDoxygen-a6c6c59d9b6cc05b9c92b23b5b1840832ed93d81.zip
Doxygen-a6c6c59d9b6cc05b9c92b23b5b1840832ed93d81.tar.gz
Doxygen-a6c6c59d9b6cc05b9c92b23b5b1840832ed93d81.tar.bz2
Merge pull request #237 from albert-github/feature/bug_fortran_codecomment
Last comment of \code{.f90} missing
Diffstat (limited to 'src')
-rw-r--r--src/fortrancode.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index ac6a73b..101137a 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -1136,6 +1136,17 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
<*>{LOG_OPER} { // Fortran logical comparison keywords
g_code->codify(yytext);
}
+<*><<EOF>> {
+ if (YY_START == DocBlock) {
+ if (!Config_getBool("STRIP_CODE_COMMENTS"))
+ {
+ startFontClass("comment");
+ codifyLines(docBlock);
+ endFontClass();
+ }
+ }
+ yyterminate();
+ }
%%
/*@ ----------------------------------------------------------------------------