From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?St=C3=A9phane?= Castelli Newsgroups: gmane.emacs.bugs Subject: bug#1177: 24.1.1; cc-mode cannot recognize function prototypes returning a pointer Date: Sat, 11 Aug 2012 17:02:38 +0200 Message-ID: <5026740E.8080202@enseirb-matmeca.fr> References: <81r66hqc3k.fsf@blackmagic-design.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344706735 9988 80.91.229.3 (11 Aug 2012 17:38:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2012 17:38:55 +0000 (UTC) To: 1177@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 19:38:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T0FeB-0000Mk-5U for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2012 19:38:47 +0200 Original-Received: from localhost ([::1]:59982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0FeA-0004Q7-Cg for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2012 13:38:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Fe7-0004Pg-QH for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2012 13:38:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0Fe6-0003Pi-VA for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2012 13:38:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Fe4-0003PL-7t; Sat, 11 Aug 2012 13:38:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T0Fm9-0005Bz-Qd; Sat, 11 Aug 2012 13:47:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <81r66hqc3k.fsf@blackmagic-design.com> Resent-From: =?UTF-8?Q?St=C3=A9phane?= Castelli Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 11 Aug 2012 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1177 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 1177-submit@debbugs.gnu.org id=B1177.134470719119923 (code B ref 1177); Sat, 11 Aug 2012 17:47:01 +0000 Original-Received: (at 1177) by debbugs.gnu.org; 11 Aug 2012 17:46:31 +0000 Original-Received: from localhost ([127.0.0.1]:49775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0Fld-0005BH-48 for submit@debbugs.gnu.org; Sat, 11 Aug 2012 13:46:30 -0400 Original-Received: from smtp.enseirb-matmeca.fr ([147.210.18.60]:51916) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0DLU-0001gc-VU for 1177@debbugs.gnu.org; Sat, 11 Aug 2012 11:11:22 -0400 X-Virus-Scanned: amavisd-new at enseirb-matmeca.fr Original-Received: from [192.168.1.20] (ANancy-256-1-29-211.w90-26.abo.wanadoo.fr [90.26.28.211]) (authenticated bits=0) from identified as scastelli by smtp.enseirb-matmeca.fr (8.14.3/8.14.3/smtp-fg-03-2011) with ESMTP id q7BF2qLh014143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <1177@debbugs.gnu.org>; Sat, 11 Aug 2012 17:02:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 X-Mailman-Approved-At: Sat, 11 Aug 2012 13:46:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63052 Archived-At: 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