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

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

Re: CC Mode 5.27 (C); Syntax highlighting after parens in quotes


From: Martin Stjernholm
Subject: Re: CC Mode 5.27 (C); Syntax highlighting after parens in quotes
Date: 07 Jul 2001 00:23:16 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Fred T. Krogh" <address@hidden> wrote:

> If I have parens. inside quotes and the line is continued using a '\' at the 
> end
> of the line, emacs seems to think following lines are still inside quotes.
> 
> The following illustrates the problem.
> 
>     if (my_query("s#remind_num from XBREM where (user_id=#p#) && 
> (remind_id=#vMA#) &&\
> (remind_num < 64) && (down_case = #n)qzg") < 0) return my_exit; // Get 
> current reminder status;
>     if (my_exit) {
> ...

"Fred T. Krogh" <address@hidden> clarified in a later mail:

> It start coloring text the same color it uses for text that is inside quotes. 
>  Sorry I
> didn't make this clear.

I've verified this in Emacs 20.7 and 21.0.100. Afaics, it's an issue
either in the builtin syntax routines, or perhaps on a low level in
font-lock.el. The C specific font lock settings only sets appropriate
entries in the syntax tables for this, so it can hardly be the faulty
part.




reply via email to

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