From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Faurot Newsgroups: gmane.emacs.bugs Subject: c-mode syntactic analysis regression in emacs-22.1 Date: Sat, 24 Nov 2007 18:04:41 +0100 Message-ID: <20071124180441.1b1351cb@thor.ekyo.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195928226 25131 80.91.229.12 (24 Nov 2007 18:17:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 18:17:06 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 24 19:17:14 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvzYx-00027J-7W for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2007 19:17:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvzYh-0001bf-TD for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Nov 2007 13:16:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvyXu-0006NT-HJ for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2007 12:11:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvyXt-0006MN-Iq for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2007 12:11:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvyXt-0006MA-5Q for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2007 12:11:57 -0500 Original-Received: from smtp-106-saturday.nerim.net ([62.4.16.106] helo=kraid.nerim.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvyXo-0004uJ-3r for bug-gnu-emacs@gnu.org; Sat, 24 Nov 2007 12:11:52 -0500 Original-Received: from thor.ekyo.net (ekyo.pck.nerim.net [213.41.242.247]) by kraid.nerim.net (Postfix) with ESMTP id 4EB2FCF11D for ; Sat, 24 Nov 2007 18:11:48 +0100 (CET) X-Mailer: Claws Mail 3.0.1 (GTK+ 2.12.1; x86_64-unknown-openbsd4.2) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Sat, 24 Nov 2007 13:16:42 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17056 Archived-At: Hello, emacs-22.1 does not indent the following excerpt correctly because the syntactic analyser tags the members appearing after "abaz" as k&r arguments. ========== #define FOO(t) struct { struct t tv; struct t *tp; } struct baz { int nothing; }; struct bar { /* ((topmost-intro 84)) */ FOO(baz) abaz; /* ((inclass 88) (topmost-intro 88)) */ int a; /* ((knr-argdecl 145)) !!! */ }; ========= emacs-21 works ok; it gives ((inclass . 88) (topmost-intro . 134)) for "int a;". It is quite annoying, and I don't really know how to fix it. Eric.