Ticket #3487 (new defect)

Opened 3 years ago

mcedit: wrong highlighting in presence of "#define \\" (i. e. preprocessor directives)

Reported by: safinaskar Owned by:
Priority: major Milestone: Future Releases
Component: mcedit Version: 4.8.14
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


The following code

#define a b
main (void)
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: See TracTickets for help on using tickets.