summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-09-30 18:21:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-09-30 18:21:09 (GMT)
commit43c415708be4c2d4065ecda9870d361b0beb0f09 (patch)
tree37c8b31262f4991ef94b7cac7dab0cee51e6d8d2 /src/code.l
parent51ee1b0633fbfa935da08c8a13f70da6fc1c074d (diff)
downloadDoxygen-43c415708be4c2d4065ecda9870d361b0beb0f09.zip
Doxygen-43c415708be4c2d4065ecda9870d361b0beb0f09.tar.gz
Doxygen-43c415708be4c2d4065ecda9870d361b0beb0f09.tar.bz2
Bug 629249 - Incorrect "References" and "Referenced by"
Discrepancy between number of push and pop calls (push was called with "{" but no pop with "}", in the later case the <*>. rule was used)
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/code.l b/src/code.l
index c906144..3323580 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2026,6 +2026,11 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
<SkipCPP>"//" {
g_code->codify(yytext);
}
+<Body,FuncCall>"}" {
+ g_theVarContext.popScope();
+ g_yyColNr++;
+ g_code->codify(yytext);
+ }
<Body,FuncCall>"{" {
g_theVarContext.pushScope();