GNU bug report logs - #1177
23.0.60; cc-mode cannot recognize pointer array declaretions

Previous Next

Packages: cc-mode, emacs;

Reported by: Feng Li <fengli <at> blackmagic-design.com>

Date: Thu, 16 Oct 2008 06:45:03 UTC

Severity: minor

Tags: fixed

Found in version 25.3

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Feng Li <fengli <at> blackmagic-design.com>
Cc: 1177 <at> debbugs.gnu.org
Subject: bug#1177: 23.0.60; cc-mode cannot recognize pointer array declaretions
Date: Mon, 03 Oct 2011 15:25:17 -0400
Feng Li wrote:

> cc-mode cannot fontify the following code correctly, where
> 'prUTF16Char*' should have the type face and sampleRateStrings should
> have the variable face, but they both are displayed in regular text
> color.
>
> prUTF16Char*            sampleRateStrings[] = {L"48000Hz"};

I don't know much about cc-mode, but it works if you add an appropriate
entry to `c-font-lock-extra-types'. Maybe this is how it is supposed to
work?




This bug report was last modified 6 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.