-
Notifications
You must be signed in to change notification settings - Fork 3
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
mcedit: wrong highlighting in presence of "#define \\" (i. e. preprocessor directives) #3487
Comments
|
From #3969 #endif // preprocessor macro with one-line comment
int code; /* <-- this line is colorized incorrectly */
int code2; /* <-- next line is colorized properly */
/* this preprocessor macro is not colorized,
when there is whitespace before '#'
and the next line is not empty */
#if not_colorized
int code3;
/* this preprocessor macro is colorized properly,
the next line is empty */
#if colorized
int code4; |
|
|
Branch: 3487_syntax_highlighting_fixes |
|
|
Important
This issue was migrated from Trac:
safinaskar
(@safinaskar)The following code
highlights wrongly. I. e. "int" highlights as comment. But gcc 4.9.2 in C mode doesn't think this is a comment
--
$ /opt/mc/bin/mcedit -V
GNU Midnight Commander 4.8.14
Built with GLib 2.42.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Note
Original attachments:
andrew_b
(@aborodin) onFeb 8, 2019 at 7:53 UTC
andrew_b
(@aborodin) onFeb 8, 2019 at 7:54 UTC
The text was updated successfully, but these errors were encountered: