[SVN] C bundle doesn't recognise multi-line function defintions
Michael Sheets
mummer at whitefalls.org
Wed Mar 8 23:23:05 UTC 2006
> void
> brush_draw_brush (splotd * sp, GdkDrawable * drawable, GGobiData * d,
> ggobid * gg)
> {
The reason is this line:
\s*\( (?=[^)]*\) # match "(" and use look-ahead for ")"
It's looking ahead for the closing bracket I presume to make sure
it's a function, remove the look ahead and it should work. However I
bet the look ahead was added for a reason, I'll let someone who knows
C see if they know why ;)
More information about the textmate-dev
mailing list