summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-02-04 15:33:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-02-04 15:33:47 (GMT)
commita9a600c4692a1d0b0a6a09362db1d6da8bda9a30 (patch)
tree2d45018d20008480ccea03a78fa6fc37908676d9 /src/code.l
parent0165662ac50544cad138573c42097999327b84bc (diff)
downloadDoxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.zip
Doxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.tar.gz
Doxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.tar.bz2
Release-1.4.6-20060202
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index f0d285a..47ab7ce 100644
--- a/src/code.l
+++ b/src/code.l
@@ -814,6 +814,7 @@ static bool getLinkInScope(const QCString &c, // scope
Definition *d = md->getOuterScope()==Doxygen::globalScope ?
md->getBodyDef() : md->getOuterScope();
if (md->getGroupDef()) d = md->getGroupDef();
+ //printf("d=%p linkable=%d\n",d,d?d->isLinkable():0);
if (d && d->isLinkable())
{
g_theCallContext.setClass(stripClassName(md->typeString()));
@@ -1777,7 +1778,7 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}
<SkipCPP>"//" {
g_code->codify(yytext);
}
-<Body>"{" {
+<Body,FuncCall>"{" {
g_theVarContext.pushScope();
g_scopeStack.push(INNERBLOCK);