diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-06 18:30:19 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-06 18:30:19 (GMT) |
commit | c60743a4b63f71f2cced85b729cc0d32b66e0500 (patch) | |
tree | 33a1b18dfdc6a1a21a166b912fd111530aa5f828 /src/fortrancode.l | |
parent | 533c5cadfad41763f294c49f8cb7a19fbc5a19d8 (diff) | |
download | Doxygen-c60743a4b63f71f2cced85b729cc0d32b66e0500.zip Doxygen-c60743a4b63f71f2cced85b729cc0d32b66e0500.tar.gz Doxygen-c60743a4b63f71f2cced85b729cc0d32b66e0500.tar.bz2 |
Some fixes and restructuring
- moved unescapeCharsInString to util.cpp
- restructured flow keyword counting
- make flow keyword counting work for python and fortran code as well
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r-- | src/fortrancode.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index 0712afd..3e443b5 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -750,6 +750,10 @@ LANGUAGE_BIND_SPEC BIND{BS}"("{BS}C{BS}(,{BS}NAME{BS}"="{BS}"\""(.*)"\""{BS})?") { if ((yy_my_start == 1) && ((yytext[0] == 'c') || (yytext[0] == 'C'))) YY_FTN_REJECT; } + if (g_currentMemberDef && g_currentMemberDef->isFunction()) + { + g_currentMemberDef->incrementFlowKeyWordCount(); + } /* font class is defined e.g. in doxygen.css */ startFontClass("keywordflow"); codifyLines(yytext); |