Ticket #3487 (new defect) — at Version 1

Opened 10 years ago

Last modified 6 years ago

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

Reported by: safinaskar Owned by:
Priority: major Milestone: 4.8.23
Component: mcedit Version: 4.8.14
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description (last modified by andrew_b) (diff)

The following code

#define a b //
int
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;

Change History

comment:1 Changed 6 years ago by andrew_b

  • Description modified (diff)
Note: See TracTickets for help on using tickets.