emacs-pretest-bug
[Top][All Lists]
Advanced

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

Font-lock does not fontify const pointer declaration


From: Marshall, Simon
Subject: Font-lock does not fontify const pointer declaration
Date: Thu, 14 Sep 2006 15:32:38 +0100

Emacs 19-21 fontifies the following C/C++ snippet:

  int *p;                       // ok
  const int *p;         // ok
  int *const p;         // not ok in CVS emacs
  const int *const p;   // not ok in CVS emacs

so that "p" is in font-lock-variable-name-face.  

In Emacs CVS, it does not fontify "p" when p is declared as a const pointer.

Simon.




reply via email to

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