[SVN] r3170 (C)

Allan Odgaard throw-away-1 at macromates.com
Sat Apr 29 19:57:18 UTC 2006


• the C prototype rule now require that there is a space before the open parenthesis, e.g.:

   void main (void);

As opposed to:

   void main(void);

The latter will no longer be recognized as a C function (prototype). I think the existence of such prototypes are rare, and even if they exist, the loss of inclusion in the symbol pop-up is negligible, at least compared to the dozen of “false positives” I get in C++ when doing things like:

   type variable(construct argument);

More concrete:

   string str("hello world");
   vector v(42);
   …

Changed:
U   trunk/Bundles/C.tmbundle/Syntaxes/C.plist



More information about the textmate-dev mailing list