From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [eric@openbsd.org: c-mode syntactic analysis regression in emacs-22.1] Date: Sun, 06 Jan 2008 14:39:21 -0500 Message-ID: <14k5mm3frq.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199648369 16517 80.91.229.12 (6 Jan 2008 19:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 19:39:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: acm@muc.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 20:39:50 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBbLa-00007G-8F for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 20:39:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbLD-0006cz-F5 for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 14:39:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBbL9-0006bc-Te for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:39:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBbL8-0006Zc-9x for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:39:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbL8-0006ZQ-5q for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:39:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBbL7-0005yv-UP for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:39:21 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JBbL7-0006fo-EI; Sun, 06 Jan 2008 14:39:21 -0500 X-Spook: import Juiliett Class Submarine Cocaine Kh-11 World Trade X-Ran: (Q$i=5%^F)g:?M)A9-k<4){zHG%4x.S2A)77ub'6b^?+U:esk5BLj+m@}8rTYP;HC))|de X-Hue: green X-Attribution: GM In-Reply-To: (Richard Stallman's message of "Sat, 01 Dec 2007 18:41:07 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86372 Archived-At: Hello Alan, Are you able to look into this issue? It is one of the few bugs remaining in FOR-RELEASE. > From: Eric Faurot > Subject: c-mode syntactic analysis regression in emacs-22.1 > To: bug-gnu-emacs@gnu.org > Date: Sat, 24 Nov 2007 18:04:41 +0100 > X-Sent: 6 weeks, 1 day, 2 hours, 33 minutes, 8 seconds ago > > 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;".