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

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

Font-lock does not fontify C++ const pointer declaration


From: Marshall, Simon
Subject: Font-lock does not fontify C++ const pointer declaration
Date: Fri, 9 Feb 2007 10:42:19 -0000

I think this bug report got lost somewhere or maybe the fix was incomplete.

Emacs 19-21 fontifies the following 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.

(I think it also misfontified in C, when I first reported it, but now C is
OK.)

Simon.




This email message is intended for the named recipient only. It may be 
privileged and/or confidential. If you are not the named recipient of this 
email please notify us immediately and do not copy it or use it for any 
purpose, nor disclose its contents to any other person.       Misys Banking 
Systems is a trading name of Misys International Banking Systems Limited which 
is registered in England and Wales under company registration number 00971479 
and with its registered office address at Burleigh House, Chapel Oak, Salford 
Priors, Evesham WR11 8SP.    THIS E-MAIL DOES NOT CONSTITUTE THE COMMENCEMENT 
OF LEGAL RELATIONS BETWEEN YOU AND MISYS INTERNATIONAL BANKING SYSTEMS LIMITED. 
PLEASE REFER TO THE EXECUTED CONTRACT BETWEEN YOU AND THE RELEVANT MEMBER OF 
THE MISYS GROUP FOR THE IDENTITY OF THE CONTRACTING PARTY WITH WHICH YOU ARE 
DEALING. 




reply via email to

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