summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-08-24 20:00:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-08-24 20:00:14 (GMT)
commit3aaaf142be657201a2664c10b96447acb1610187 (patch)
treeacf5ce8ed64ee56e5f7eec664f2f00260d068e9c /src/code.l
parentedeb82c1e0cebe5437fb637c9d239a8cecfca0cb (diff)
downloadDoxygen-3aaaf142be657201a2664c10b96447acb1610187.zip
Doxygen-3aaaf142be657201a2664c10b96447acb1610187.tar.gz
Doxygen-3aaaf142be657201a2664c10b96447acb1610187.tar.bz2
Release-1.3.8-20040824
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 4961c36..60a2b10 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1995,6 +1995,11 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^' \\\n]{1,4}"'"))
addType();
g_name+=yytext;
}
+<Body>{SCOPENAME}/{B}*[;,)\]] { // "int var;" or "var, var2" or "debug(f) macro"
+ generateClassOrGlobalLink(*g_code,yytext,TRUE);
+ addType();
+ g_name+=yytext;
+ }
<Body>{SCOPENAME}/{B}* { // p->func()
generateClassOrGlobalLink(*g_code,yytext);
addType();