help-gnu-emacs
[Top][All Lists]
Advanced

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

Defining syntactic symbols


From: Peter Lee
Subject: Defining syntactic symbols
Date: Thu, 20 Mar 2003 21:03:35 GMT
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

Hello all.

I'm having a problem with cc-mode handling things macros inside class
definitions such as DECLARE_MESSAGE_MAP(class).

I'm having the same problem with csharp-mode and attributes such as
[ComVisible(true)]
[Guid("6674C3CF-1118-40f2-B7F2-CBA3D863082C")]

Following either of these the indentation is off or in the case of
csharp I get syntactic errors.

If I put a semi-colon after the attributes or the macro's the problem
goes away.

I assume I need to extend cc-mode to handle this syntax, but I'm not
sure how to go about it.

Any help would be greatly appreciated.


reply via email to

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