GNU bug report logs - #72131
29.3; peg.el: syntax class character for symbol is '_', not 's'

Previous Next

Package: emacs;

Reported by: Jeff Trull <edaskel <at> att.net>

Date: Mon, 15 Jul 2024 22:29:02 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Helmut Eller <eller.helmut <at> gmail.com>, 72131 <at> debbugs.gnu.org, Jeff Trull <edaskel <at> att.net>
Subject: bug#72131: 29.3; peg.el: syntax class character for symbol is '_', not 's'
Date: Tue, 16 Jul 2024 09:04:09 -0400
>> 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





This bug report was last modified 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.