From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72131: 29.3; peg.el: syntax class character for symbol is '_', not 's' Date: Tue, 16 Jul 2024 09:04:09 -0400 Message-ID: References: <86bk2xir3q.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9140"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , 72131@debbugs.gnu.org, Jeff Trull To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 16 15:05:34 2024 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 1sThs5-00027z-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jul 2024 15:05:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sThri-0007cD-MQ; Tue, 16 Jul 2024 09:05:11 -0400 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 1sThrZ-0007bU-6n for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2024 09:05:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sThrX-0007jY-9W for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2024 09:05:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sThrZ-0008CJ-QX for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2024 09:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jul 2024 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72131 X-GNU-PR-Package: emacs Original-Received: via spool by 72131-submit@debbugs.gnu.org id=B72131.172113506331457 (code B ref 72131); Tue, 16 Jul 2024 13:05:01 +0000 Original-Received: (at 72131) by debbugs.gnu.org; 16 Jul 2024 13:04:23 +0000 Original-Received: from localhost ([127.0.0.1]:32948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sThqw-0008BJ-Pm for submit@debbugs.gnu.org; Tue, 16 Jul 2024 09:04:23 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sThqu-0008B5-H1 for 72131@debbugs.gnu.org; Tue, 16 Jul 2024 09:04:21 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0530D4412B2; Tue, 16 Jul 2024 09:04:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1721135050; bh=jChtFvtPPhjmylnJmaj4RxEDMnMZfzLFj7ttFcpPx2w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ASIn5Pe3AmTjm38KOgGsEXzBl/K5gpylIT1lbhmlZ57/QWwo2immItUDsh78MREzT HlWHDIEnAeZA+DaurL0c6V5RN/izrON9vcePaz6I9JLrgmK6PxAzzBJFaJzPWDMb28 C+aeBf5YIm1mKDI4mYqy9EsHs9Y0s9PPF036Wtdi3x6lLHCcjHp6tTcH6fctW8G5bx Fo5K0hBpPtoDX3z9cU9B7pz+Cvd/xs0n9Vhr7lqrfQvw88c0BlCw1C+0CUM9OFEISf gcRt2i0W5QSPwgm9qBFbPvhOXwO8j/uSk2y7czc/6apfBKCFX7eCImHw07peeDVy7h X8ju2P3Embh5g== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7AE19441099; Tue, 16 Jul 2024 09:04:10 -0400 (EDT) Original-Received: from pastel (unknown [45.72.245.253]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 47206120497; Tue, 16 Jul 2024 09:04:10 -0400 (EDT) In-Reply-To: <86bk2xir3q.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jul 2024 13:11:21 +0300") 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:288889 Archived-At: >> The root cause seems to be line 703 of peg.el where the syntax class >> characters are defined. peg uses "s" for symbols instead of >> "_". Correcting this results in a successful parse in the given code. > > Stefan and Helmut, any comments or suggestions? Indeed `s` doesn't exist as a syntax class, it should be `_`. Stefan