unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Feng Li <fengli@blackmagic-design.com>
Cc: 1177@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	[thread overview]
Message-ID: <m3lit1c1ya.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <81r66hqc3k.fsf@blackmagic-design.com> (Feng Li's message of "Thu, 16 Oct 2008 17:37:51 +1100")

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?





  reply	other threads:[~2011-10-03 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  6:37 bug#1177: 23.0.60; cc-mode cannot recognize pointer array declaretions Feng Li
2011-10-03 19:25 ` Glenn Morris [this message]
2012-08-11 15:02 ` bug#1177: 24.1.1; cc-mode cannot recognize function prototypes returning a pointer Stéphane Castelli
2018-06-23 23:26   ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lit1c1ya.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=1177@debbugs.gnu.org \
    --cc=fengli@blackmagic-design.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).