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

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

FW: cc-mode bug


From: Marshall, Simon
Subject: FW: cc-mode bug
Date: Tue, 9 Jan 2007 10:56:32 -0000

I'm forwarding this report from Feng Li.  (I'm not the guy responsible and I'm not in the Emacs team - I just fixed a couple of the issues that annoyed me and were relatively easy!)
 
AFAICS, the bug is that the pretest no longer fontifies the below declaration of B::foo(), presumably because it does not know that __stdcall is a platform-specific keyword.  (I'm not volunteering to fix this...)
 
Is it OK to report bugs to these lists, or should I go through sourceforge.net?
 
Simon.

From: Feng Li [mailto:address@hidden
Sent: 09 January 2007 09:31
To: Marshall, Simon
Subject: cc-mode bug

Hi Simon,

I've noticed a couple of bugs of cc-mode 5.31.4 in the current CVS Emacs.  I know I'm supposed to send bug reports to the cc-mode project page at sourceforge, but due to the recent earthquake near Taiwan, it's currently very difficult to access sourceforge.net from China.  Since you looks like the guy responsible for cc-mode in the Emacs team, I guess maybe I could ask you about my problems.

Here are the 2 cases that the latest cc-mode failed to fontify correctly. IIRC, earlier versions of cc-mode used to handle these code without problem.

class DLLEXPORT A
{
};

class B
{
    void __stdcall foo();
};

However, this code is fontified correctly.

class __declspec(dllexport) A
{
};

So it seems the new cc-mode only recognize certain tokens before a type name while earlier versions can skip uncrecognized tokens.

Thansks for your time.

--
Feng Li



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]