all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* font-loc "case" bug
@ 2005-12-14 19:55 Michael Kleber
  0 siblings, 0 replies; only message in thread
From: Michael Kleber @ 2005-12-14 19:55 UTC (permalink / raw)


In emacs 21.3.1, C font-lock coloring is disrupted when the
word "case" appears in a comment or in quotes.  For example,
in the following file:

int main() {
   int i /* this is just fine */ = 1;
   int j /* but it miscolors this case */ = 2;
}

the number "2" is colored as a case label, but is colored
correctly if the last word in the comment is changed to "casey".

--Michael Kleber

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-14 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-14 19:55 font-loc "case" bug Michael Kleber

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.