From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Help etags parse lisp.j Date: Sun, 20 Mar 2016 18:34:05 +0100 Message-ID: <87k2kxuk8i.fsf@linux-m68k.org> References: <83fuvl6p97.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458495272 11239 80.91.229.3 (20 Mar 2016 17:34:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2016 17:34:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 20 18:34:23 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 1ahhF9-0001nN-9l for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2016 18:34:23 +0100 Original-Received: from localhost ([::1]:53821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahhF5-0004t6-Ga for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2016 13:34:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahhF2-0004sM-ET for emacs-devel@gnu.org; Sun, 20 Mar 2016 13:34:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahhF1-0001H9-Gs for emacs-devel@gnu.org; Sun, 20 Mar 2016 13:34:16 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:39819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahhEx-0001DM-Gp; Sun, 20 Mar 2016 13:34:11 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qSmKV4prhz3hjVc; Sun, 20 Mar 2016 18:34:06 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qSmKV4Gg7zvhRP; Sun, 20 Mar 2016 18:34:06 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id eha73PRcwoLd; Sun, 20 Mar 2016 18:34:05 +0100 (CET) X-Auth-Info: z2kIl9OvYPAaSnfUsIN/bEXHK4XpdY/8geBn5IG1FMmJFhwALMwKBoYHprMIpOB4 Original-Received: from igel.home (ppp-88-217-10-131.dynamic.mnet-online.de [88.217.10.131]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 20 Mar 2016 18:34:05 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 233FB2C480C; Sun, 20 Mar 2016 18:34:05 +0100 (CET) X-Yow: I'm having an emotional outburst!! In-Reply-To: <83fuvl6p97.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Mar 2016 19:19:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 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:201950 Archived-At: Eli Zaretskii writes: > Today I found that some inline functions defined in lisp.h are not in > src/TAGS. For example, lispstpcpy is not there. After some digging, > it turned out that lines like the one below confuse etags: > > extern _Noreturn void emacs_abort (void) NO_INLINE; > > Specifically, the very next inline function doesn't wind up in TAGS. > The problem is that NO_INLINE part after the argument list. These > macros expand either to __attribute__((SOMETHING)) or to nothing; > etags knows about __attribute__, but it cannot know about the macros > we use for that. The problem happens with any attribute we hide > behind a macro, not just with NO_INLINE. Can't etags reset its parser state after a toplevel semicolon? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."