[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font-lock decides function call is function declaration in C+ +
From: |
Chong Yidong |
Subject: |
Re: Font-lock decides function call is function declaration in C+ + |
Date: |
Mon, 05 Feb 2007 12:14:48 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
"Marshall, Simon" <address@hidden> writes:
> emacs -Q foo.cpp
> int SPC main() SPC { RET } RET C-p C-o bar();
>
> OK so far. Now to insert the "foo();" line:
>
> C-a C-o foo
>
> At this point, "foo" is fontified as a type, and "bar" as a variable. OK.
> Now:
>
> ()
>
> The fontification of "foo" and "bar" disappears. OK. Now complete the
> snippet:
>
> ;
>
> Now "foo" is fontified as a variable. This is wrong.
I can reproduce this now. Note that it only happens in c++ mode, not
in plain c-mode.
Hopefully, someone familiar with the cc-mode code can debug it.
- Re: Font-lock decides function call is function declaration in C+ +, Chong Yidong, 2007/02/02
- RE: Font-lock decides function call is function declaration in C+ +, Marshall, Simon, 2007/02/05
- Re: Font-lock decides function call is function declaration in C+ +,
Chong Yidong <=
- Re: Font-lock decides function call is function declaration in C+ +, Alan Mackenzie, 2007/02/07
- Re: Font-lock decides function call is function declaration in C+ +, Chong Yidong, 2007/02/09
- Re: Font-lock decides function call is function declaration in C+ +, Alan Mackenzie, 2007/02/11
- Re: Font-lock decides function call is function declaration in C+ +, Stefan Monnier, 2007/02/11
- Re: Font-lock decides function call is function declaration in C+ +, Chong Yidong, 2007/02/11
- Re: Font-lock decides function call is function declaration in C+ +, Stefan Monnier, 2007/02/11
- Re: Font-lock decides function call is function declaration in C+ +, Alan Mackenzie, 2007/02/12
Re: Font-lock decides function call is function declaration in C+ + - embryonic solution., Alan Mackenzie, 2007/02/22
RE: Font-lock decides function call is function declaration in C+ +, Marshall, Simon, 2007/02/09
Re: Font-lock decides function call is function declaration in C+ +, Chong Yidong, 2007/02/11