summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-08-06 18:30:19 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-08-06 18:30:19 (GMT)
commitc60743a4b63f71f2cced85b729cc0d32b66e0500 (patch)
tree33a1b18dfdc6a1a21a166b912fd111530aa5f828 /src/code.l
parent533c5cadfad41763f294c49f8cb7a19fbc5a19d8 (diff)
downloadDoxygen-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.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code.l b/src/code.l
index 45429c3..b932a43 100644
--- a/src/code.l
+++ b/src/code.l
@@ -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;