Fix destructor name ...
authorOlivier Parcollet <olivier.parcollet@cea.fr>
Fri, 9 Nov 2012 12:40:05 +0000 (13:40 +0100)
committerRobert Bradshaw <robertwb@math.washington.edu>
Fri, 9 Nov 2012 18:49:57 +0000 (10:49 -0800)
commitcc6a2207f3a871f9b977952a6dba804cfa582fd9
tree5b864880245a8c21de082ed80a0849b9db1a1eb2
parent2d077f962c875517351903379ecd34f88e26201c
Fix destructor name ...

There appears to be a pb in 9df8c9daf10ff30a8e6506b72406d032f268a17b.

For a template class, A::B::C<T1,T2>
the destructor name was C<T1,T2>
leading to code like
A::B::C<T1,T2>::~C<T1,T2>()

which does not compile on gcc (4.6, 4.7), also it seems to be correct code ...
clang and intel C++ compile it, but not gcc.

I changed the name to generate the code :

A::B::C<T1,T2>::~C()

which compiles on gcc, clang, intel

by further cutting the <...> in the destructor name.
Cython/Compiler/ModuleNode.py