c.tmbundle icon indicating copy to clipboard operation
c.tmbundle copied to clipboard

Incorrect highlighting of multiline preprocessor macro

Open luc-j-bourhis opened this issue 13 years ago • 1 comments

Example:

# define SIMDTBX_INTEL_GCC_VERSION \

(**GNUC**_10000 +**GNUC_MINOR**_100 + **GNUC_PATCHLEVEL**)

The line starting with "#define" (1st line) is highlighted but not the continuation line (2nd line). That's with Textmate version 2.0 (9090).

luc-j-bourhis avatar May 04 '12 11:05 luc-j-bourhis

I too am experiencing a similar problem. Here is an example:

https://github.com/bloomberg/bde/blob/master/groups/bsl/bslstl/bslstl_deque.h#L157

#if defined(BSL_OVERRIDES_STD) && !defined(BSL_STDHDRS_PROLOGUE_IN_EFFECT)
#error "include <bsl_deque.h> instead of <bslstl_deque.h> in \
BSL_OVERRIDES_STD mode"
#endif

burz avatar Jul 18 '15 18:07 burz