summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-11-18 21:50:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-11-18 21:50:39 (GMT)
commitdd7602fdd31d8f3e0f88be553da084a1e3fdec45 (patch)
treea6d2454b4e6d53003fa829bb7134fe373461ed97 /src/declinfo.l
parentbe602ee76006d9b8b0f6e5e75114f2ce34f7773e (diff)
downloadDoxygen-dd7602fdd31d8f3e0f88be553da084a1e3fdec45.zip
Doxygen-dd7602fdd31d8f3e0f88be553da084a1e3fdec45.tar.gz
Doxygen-dd7602fdd31d8f3e0f88be553da084a1e3fdec45.tar.bz2
Release-1.7.2-20101118
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 3affce2..13c0715 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -128,9 +128,11 @@ ID "$"?([a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]*)|(@[0-9]+)
name += yytext;
}
}
-<Start>(~{B}*)?{ID}/({B}*"["{B}*"]")* { // the []'s are for Java,
+<Start>([~!]{B}*)?{ID}/({B}*"["{B}*"]")* { // the []'s are for Java,
// the / was add to deal with multi-
// dimensional C++ arrays like A[][15]
+ // the leading ~ is for a destructor
+ // the leading ! is for a C++/CLI finalizer (see bug 456475 and 635198)
addTypeName();
name += yytext;
}