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

Previous Next

Packages: emacs, cc-mode;

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: Stéphane Castelli <scastelli <at> enseirb-matmeca.fr>
To: 1177 <at> debbugs.gnu.org
Subject: bug#1177: 24.1.1; cc-mode cannot recognize function prototypes returning a pointer
Date: Sat, 11 Aug 2012 17:02:38 +0200
I can confirm this bug, but with function prototypes, like this :

SDL_Surface* displayInit(void);


int* stuff(someStuff); works fine.

If i write "SDL_Surface* displayInit(void);", then erase the ';' and 
replace it by '{', then erase the '{' and re-replace it by ';', the 
coloration will work fine whatever i do next...


GNU Emacs 24.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.10)
 of 2012-07-13 on x86-04.phx2.fedoraproject.org

Fedora 17




This bug report was last modified 7 years and 5 days ago.

Previous Next


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