From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59435: 29.0.50; tree-sitter fails to fontify or indent simple function Date: Wed, 07 Dec 2022 09:02:23 +0800 Message-ID: <877cz4m3fk.fsf@yahoo.com> References: <871qpw7s9k.fsf.ref@yahoo.com> <871qpw7s9k.fsf@yahoo.com> <3A4C0323-634D-437D-9510-50E59A254619@gmail.com> <87mt8k5xm3.fsf@yahoo.com> <83wn7o2z2v.fsf@gnu.org> <87bkog5jgh.fsf@oldenburg.str.redhat.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7122"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59435@debbugs.gnu.org, Eli Zaretskii , casouri@gmail.com To: Florian Weimer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 02:03:32 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2iqR-0001d8-Ms for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 02:03:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2iq0-0004cV-Ar; Tue, 06 Dec 2022 20:03:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2ipy-0004c8-W6 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 20:03:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2ipy-0000EQ-NQ for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 20:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2ipy-0000DZ-0p for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 20:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Dec 2022 01:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59435 X-GNU-PR-Package: emacs Original-Received: via spool by 59435-submit@debbugs.gnu.org id=B59435.1670374961815 (code B ref 59435); Wed, 07 Dec 2022 01:03:01 +0000 Original-Received: (at 59435) by debbugs.gnu.org; 7 Dec 2022 01:02:41 +0000 Original-Received: from localhost ([127.0.0.1]:46246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ipd-0000D5-5F for submit@debbugs.gnu.org; Tue, 06 Dec 2022 20:02:41 -0500 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:38779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ipb-0000Cx-S1 for 59435@debbugs.gnu.org; Tue, 06 Dec 2022 20:02:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670374953; bh=elEfwTB/SJDdyVEeJ6qCh6RfpNm/i7ZkrYpcsbjAmjo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=dHeE+XJsdGKckA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Q9yPjBaZb5sPvVNDeTNhhuzClLVelfmNlP_lOHcLis5.3iMqu lhEFcbcskNRQf8SpG0vtsM3J5En83.gIP_8IQvVLpbtYsnWHeIevcHZeVAaIUkKa.nJbEGp6laUk 8a66y0ihOe_0cjX3zDA5cCf1eLdC3yERRwgvpHzniRZ0t7E5l6RMyYXrksQotTo5AsEkifD7WN8I tYlQKL9XFEs.Vor2V9vENwaR6NwucmGTj5nVuP2vwpdZixqNgCzXUCEt26.VGGDMDXRxahAmZxGK fDbOXwwQHxLRKcs5GRG4W2_hIh4ibtcukWrfZrThdL_wbKVGM5nQlIKTp7KqXfQL43l2ETLDL9IB VIfeIs2UxaQ1seSdP605JE3hdySO2_BJoFtym.bmyx33VWp8YnFSE5kJWwbYDCOffoIghR013g_o XuP6uUHGr3i5GaS2T3aTF7Ne4Wc889U_dv4USx.kS.n1W2swzCzGYgQXYWyskWrWjDTY7ilh_sdq pzi43fwc72jiP0ZpSCHnWwTaHbgCqN7enT.HAIQtJZxX.dAplIoJRkuDeFjGaHsLv_8IdO07YbBD qC4ZsUxE.N_IEfQskSxpCW72JQArtFsss2Zn_3ItIO X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Wed, 7 Dec 2022 01:02:33 +0000 Original-Received: by hermes--production-sg3-b666c6484-bfm47 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4ae5578e2da7b8180c12ceeb3133690c; Wed, 07 Dec 2022 01:02:31 +0000 (UTC) In-Reply-To: <87bkog5jgh.fsf@oldenburg.str.redhat.com> (Florian Weimer's message of "Tue, 06 Dec 2022 22:08:14 +0100") X-Mailer: WebService/1.1.20926 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250153 Archived-At: Florian Weimer writes: > Some clarification: > > Implicit ints were removed from the language in 1999. GCC 14 (to be > released in 2024) will likely no longer accept them by default, along > with implicit function declarations (also removed in 1999). But you can > still get them back using -std=3Dgnu89, and there are no plans to remove > that. What about -std=3Dgnu99? Is there a way to get them back there? > Old-style function definitions will finally be removed in C2X (which > will probably be called C23), but I've been told that it will be several > years (but probably not anything close to 25) until GCC switches to > -std=3Dgnu23 (or whatever the year will be the year of the standard in the > end). Function declarations which are not a prototype=E2=80=94void foo()= ;=E2=80=94will > change meaning and denote a function with an empty parameter list, same > as today: foo(void);. No more: int (*pFillSpans) (); (*pFillSpans) (pDrawable, pGc, nInit, pptInit, pwidthInit, fSorted) ? Will there be an option to get that back in gnu23? > Old-style function declarations are still in C18, and so are function > declarations without a prototype. Thanks.