Two changes to the meta.preprocessor.macro.c parsing:

• Made macro arguments optional to correctly match basic macros, e.g:

    #define SPINAL_TAP_VOLUME 11

• Permitted a trailing ellipsis to match macros with varargs, e.g:

    #define ERR_IF(condition, function, format, args...)   \
    if (condition)                                         \
    {                                                      \
        fprintf(stderr, "%s:%d in %s(): " format,          \
                __FILE__, __LINE__, __FUNCTION__, ##args); \
        perror(" with " #function "() failed");            \
    }

(patch from Sam Vaughan)

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

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to