Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C] Preprocessor directive and string or multiline #56

Open
Josar opened this issue Apr 26, 2018 · 2 comments
Open

[C] Preprocessor directive and string or multiline #56

Josar opened this issue Apr 26, 2018 · 2 comments

Comments

@Josar
Copy link

Josar commented Apr 26, 2018

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 Josar changed the title Preprocessor directive and string or multiline [C] Preprocessor directive and string or multiline Apr 26, 2018
@Josar
Copy link
Author

Josar commented Apr 26, 2018

seems related to #5 #12 #27 #47

@Josar
Copy link
Author

Josar commented Apr 26, 2018

possible solution #12 ?

@neoxic neoxic mentioned this issue Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant