summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuangwang Huang <whatacold@gmail.com>2021-02-09 15:19:18 (GMT)
committerGuangwang Huang <whatacold@gmail.com>2021-02-09 15:19:18 (GMT)
commit7509b118fd110f3224b0c24e49752256836410ce (patch)
tree67ae3351320deb203e792266ec976cf6e133d6d2 /src
parent46ffd77e8d3c15244732128caace858f2aa38d73 (diff)
downloadDoxygen-7509b118fd110f3224b0c24e49752256836410ce.zip
Doxygen-7509b118fd110f3224b0c24e49752256836410ce.tar.gz
Doxygen-7509b118fd110f3224b0c24e49752256836410ce.tar.bz2
issue #8011: No callgraph if having more than one 'using namespace's.
Diffstat (limited to 'src')
-rw-r--r--src/code.l6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/code.l b/src/code.l
index 233a4f0..6134ab2 100644
--- a/src/code.l
+++ b/src/code.l
@@ -896,11 +896,9 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER}
endFontClass(yyscanner);
BEGIN(UsingName);
}
-<UsingName>{ID}("::"{ID})* { addUsingDirective(yyscanner,yytext);
+<UsingName>{ID}("::"{ID})* {
+ addUsingDirective(yyscanner,yytext);
generateClassOrGlobalLink(yyscanner,*yyextra->code,yytext);
- DBG_CTX((stderr,"** scope stack push CLASSBLOCK\n"));
- yyextra->scopeStack.push(CLASSBLOCK);
- pushScope(yyscanner,yytext);
BEGIN(Body);
}
<UsingName>\n { codifyLines(yyscanner,yytext); BEGIN(Body); }