From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Help etags parse lisp.j Date: Mon, 21 Mar 2016 10:40:20 -0700 Organization: UCLA Computer Science Department Message-ID: <56F03204.9000701@cs.ucla.edu> References: <83fuvl6p97.fsf@gnu.org> <87k2kxuk8i.fsf@linux-m68k.org> <83a8lt6nen.fsf@gnu.org> <83vb4f6bs7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1458582844 5267 80.91.229.3 (21 Mar 2016 17:54:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 17:54:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 18:53:54 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 1ai41W-0007wi-4j for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 18:53:50 +0100 Original-Received: from localhost ([::1]:59498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai41V-0003da-H5 for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 13:53:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai3oc-0004tj-Ch for emacs-devel@gnu.org; Mon, 21 Mar 2016 13:40:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai3ob-0004c4-Er for emacs-devel@gnu.org; Mon, 21 Mar 2016 13:40:30 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai3oV-0004Zn-8Y; Mon, 21 Mar 2016 13:40:23 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0560F160175; Mon, 21 Mar 2016 10:40:22 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PqIRZT_vWHNv; Mon, 21 Mar 2016 10:40:21 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5223116120C; Mon, 21 Mar 2016 10:40:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yhCFgZQsBxF1; Mon, 21 Mar 2016 10:40:21 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2DB73160175; Mon, 21 Mar 2016 10:40:21 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <83vb4f6bs7.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:202013 Archived-At: Eli Zaretskii wrote: > . in a large enough project, the user doesn't have an easy way of > knowing whether she needs K&R support Yes they do. Any current project won't bother with K&R. The handful of older projects that still have K&R and haven't bothered to rip it out (e.g., glibc is *still* ripping it out) should have a toolsmith that knows ancient history. Really, K&R support should be turned off by default. > . implementing such an option is not trivial, to say the least, given > the complex state machines used by parsing of C-like languages Nontrivial yes, but still it's not terribly hard. In the short term, perhaps we could work around the problem by replacing this: extern int make_ctrl_char (int) ATTRIBUTE_CONST; with this: extern ATTRIBUTE_CONST int make_ctrl_char (int); and similarly for the other affected declarations.