Multi-line function definitions in C++ cannot be definitively matched with the current TM grammar capabilities. You'll have to wait until at least TM 2.0 before that can be fixed.
On Dec 9, 2006, at 9:08 AM, shin kurokawa wrote:
In C++ mode, what is the correct method to modify tmthemes such that function declarations written like :
TF Funk(T1 arg1, T2 arg2)
...and...
TF Funk( T1 arg1, T2 arg2,)
...or...
TF Funk( T1 arg1, T2 arg2,)
..are rendered identically? or is that even possible? (TF above is the function return type, possibly more than one word to include a storage type. T1/T2 above are argument types, again maybe augmented by an additional word(s) like const or default assignments).