[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

font-loc "case" bug

From: Michael Kleber
Subject: font-loc "case" bug
Date: Wed, 14 Dec 2005 14:55:02 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]