From unknown Fri Jun 20 07:09:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46073: 28.0.50; etags stops processing with no reason Resent-From: "Andrea G. Monaco" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jan 2021 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 46073@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161149656125860 (code B ref -1); Sun, 24 Jan 2021 13:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2021 13:56:01 +0000 Received: from localhost ([127.0.0.1]:36083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3fs0-0006ix-P3 for submit@debbugs.gnu.org; Sun, 24 Jan 2021 08:56:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:57520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3fry-0006ip-UQ for submit@debbugs.gnu.org; Sun, 24 Jan 2021 08:55:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3fry-0000Bf-Lc for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 08:55:58 -0500 Received: from devianza.investici.org ([198.167.222.108]:51473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3frw-0000Io-6f for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 08:55:58 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4DNvf53Pz0z6vJR for ; Sun, 24 Jan 2021 13:55:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1611496541; bh=eLv4gfe+RM2GsabLOmVH09/nnItrLvmZhxjPYmGbgE8=; h=From:To:Subject:Date:From; b=iVVOiQPrhEdkB9fRoDC8/WZvztGOakZIGZAKux/ahR4ycAz6sC1uvGzVu0/0i3AhK 0p2No8Ue8frLFvAISqEggeqZzav0KsXyt7apEHFcozu1YIzRle4zmJU8GHjne9GtOe btrp97PSRo3pYfBHeuG27PvjaXeqfS5avxvvEGLA= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4DNvf52437z6vJH for ; Sun, 24 Jan 2021 13:55:41 +0000 (UTC) From: "Andrea G. Monaco" Date: Sun, 24 Jan 2021 14:55:40 +0100 Message-ID: <87eeiah21v.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.167.222.108; envelope-from=andrea.monaco@autistici.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello, calling etags on the following file gives a wrong result. This is a modified snippet from the GNU Mach sources. macro_call(, b) void test(void) { } The result is draft.c,16 macro_call(1,0 The first line is a macro call, not a definition, so it should not appear at all in the TAGS file. And then the parsing stops so there's no "test" in the file. Maybe the problem lies in the empty macro argument or the missing semicolon? In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-12-01 built on agm Repository revision: 90a543e630012cc58c175d5bf3ffd42bb156c6b6 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C/*l Minor modes in effect: display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow emacsbug cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-git diff-mode easy-mmode asm-mode gnutls network-stream nsm mailalias smtpmail sendmail sort mail-extr message rmc puny dired dired-loaddefs rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader cl-loaddefs cl-lib time tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 103955 20497) (symbols 48 10242 1) (strings 32 27354 1476) (string-bytes 1 1012919) (vectors 16 15639) (vector-slots 8 214459 27136) (floats 8 34 339) (intervals 56 4352 176) (buffers 984 20)) -- Andrea G. Monaco Hacker, mathematician, lgbt+ activist "Hope will never be silent!", H. Milk