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.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to