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

[C] Preprocessor directive and string or multiline

Open Josar opened this issue 6 years ago • 2 comments

I found an error in the code highlighting.

#ifdef __cplusplus
extern "C" {
#endif

The endif is not properly set to red color.

#if ((XTIMER_HZ % 15625) == 0)
#error "Unsupported hardware timer frequency (XTIMER_HZ), missing XTIMER_SHIFT \
in board.h? See xtimer.h documentation for more info"
#else
#error "Unknown hardware timer frequency (XTIMER_HZ), check board.h and/or add \
an implementation in sys/include/xtimer/tick_conversion.h"
#endif
#endif

And also in this code the two directives are not correctly set to red.

Josar avatar Apr 26 '18 14:04 Josar

seems related to #5 #12 #27 #47

Josar avatar Apr 26 '18 15:04 Josar

possible solution #12 ?

Josar avatar Apr 26 '18 15:04 Josar