This is from CVS Emacs, checked out a little before the 22.x branch.  Put
this in a C++ buffer:

typedef enum {
        foo, bar
} Enum;                 // "Enum" fontified as a variable name

main() {
        Enum e;         // "Enum" nicely fontified as a type name
}

Is the new cc fontification engine able to distinguish the context of the
first "Enum" and fontify it as a type name?

(I realise that in the context of

struct Fubar {
} fubar;

then "fubar" is a variable name, and is therefore currently fontified
correctly.)

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. 
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to