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/code.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/code.l')
-rw-r--r-- | src/code.l | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2474,7 +2474,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" <Body>{FLOWCONDITION}/{BN}*"(" { if (g_currentMemberDef && g_currentMemberDef->isFunction()) { - g_currentMemberDef->addFlowKeyWord(); + g_currentMemberDef->incrementFlowKeyWordCount(); } startFontClass("keywordflow"); codifyLines(yytext); @@ -2495,7 +2495,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" <Body>{FLOWCONDITION}/([^a-z_A-Z0-9]) { if (g_currentMemberDef && g_currentMemberDef->isFunction()) { - g_currentMemberDef->addFlowKeyWord(); + g_currentMemberDef->incrementFlowKeyWordCount(); } startFontClass("keywordflow"); codifyLines(yytext); @@ -2513,7 +2513,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" <Body>{FLOWCONDITION}/{B}* { if (g_currentMemberDef && g_currentMemberDef->isFunction()) { - g_currentMemberDef->addFlowKeyWord(); + g_currentMemberDef->incrementFlowKeyWordCount(); } startFontClass("keywordflow"); codifyLines(yytext); @@ -3052,7 +3052,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" <MemberCall2,FuncCall>{FLOWCONDITION}/([^a-z_A-Z0-9]) { if (g_currentMemberDef && g_currentMemberDef->isFunction()) { - g_currentMemberDef->addFlowKeyWord(); + g_currentMemberDef->incrementFlowKeyWordCount(); } addParmType(); g_parmName=yytext; |