From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Help etags parse lisp.j Date: Tue, 22 Mar 2016 08:46:59 -0400 Message-ID: References: <83fuvl6p97.fsf@gnu.org> <87k2kxuk8i.fsf@linux-m68k.org> <83a8lt6nen.fsf@gnu.org> <56EFA8B2.90904@cs.ucla.edu> <83y49b6cce.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458650869 28621 80.91.229.3 (22 Mar 2016 12:47:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2016 12:47:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 13:47:40 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aiLih-0003pe-PZ for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2016 13:47:35 +0100 Original-Received: from localhost ([::1]:35957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLih-0007vc-5G for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2016 08:47:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLiS-0007vL-IY for emacs-devel@gnu.org; Tue, 22 Mar 2016 08:47:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiLiP-0004bW-Co for emacs-devel@gnu.org; Tue, 22 Mar 2016 08:47:20 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLiP-0004bS-5b for emacs-devel@gnu.org; Tue, 22 Mar 2016 08:47:17 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aiLiL-0003am-Je for emacs-devel@gnu.org; Tue, 22 Mar 2016 13:47:13 +0100 Original-Received: from 69-196-182-150.dsl.teksavvy.com ([69.196.182.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2016 13:47:13 +0100 Original-Received: from monnier by 69-196-182-150.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2016 13:47:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-182-150.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:QZywWI+KlxnnvCxtNgvd2FhovNE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202067 Archived-At: > TYPE0 foo (arg1, arg2, arg3, ..., argN) The first potential difference here is that each arg is a single identifier. Of course, in non-K&R declarations, this can also be the case, but at least if there's a *, a [..], or two identifiers without a comma between them, then we know already it's not K&R. > Hmm... can we use the fact that in a K&R definition, the last token > before the opening brace "{" of the body is always a semicolon? So if > there's no semi-colon there, then it's a function that needs to be > tagged? (Of course, the semicolon could be hidden behind some clever > macro, but I think we don't need to cater to such uses.) Sounds fine, yes, Stefan