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

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

Re: fontlock and imenu problems


From: David Kastrup
Subject: Re: fontlock and imenu problems
Date: 13 Feb 2003 21:48:39 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Javier Oviedo" <email_joviedo@yahoo.com> writes:

> Hello all!
> 
> 1. I am seeing that sometimes #define/#include and #ifdef/#else/etc. are not
> fontified in some c-code that I am looking at. The issue seems to occur only
> if the above do not begin in the column zero. There is some code that I must
> browse that indents these, especially the #ifdef/etc, and I'd like to see
> them fontified and usual. Any help?

There is a reason:

Preprocessing directives are recognized in traditional C only when
their leading # appears in the first column. There can be no
whitespace between the beginning of the line and the #.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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