summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-11-18 21:50:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-11-18 21:50:39 (GMT)
commit0014470c309dccbc2ac72c527391039900b8cf3d (patch)
treea6d2454b4e6d53003fa829bb7134fe373461ed97 /src/declinfo.l
parent01f41c40b8505c8f197ef1e5bf7e3a3bc777dc0e (diff)
downloadDoxygen-0014470c309dccbc2ac72c527391039900b8cf3d.zip
Doxygen-0014470c309dccbc2ac72c527391039900b8cf3d.tar.gz
Doxygen-0014470c309dccbc2ac72c527391039900b8cf3d.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;
}