When writing C++ code in TextMate, it appears that the method names are not well detected when I use the throw\([^\)]*\) keyword on my method declarations, as in this example:

void Foo::Bar(int argument) const throw()
{
   /* ... */
}

or like this:

void Foo::Bar(int argument) const throw(std:exception, int)
{
   /* ... */
   throw std::exception("exception message");
   /* ... */
   throw 42;
   /* ... */
}

When I use the throw keyword on my method declarations, the method name detected by TextMate is "throw", which isn't really useful, especially when all the method names are detected as "throw". How can I fix this to ensure TextMates resolves the proper names?

Thanks for your help,

Marc-Antoine Courteau