emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 a478423d19f: * lisp/progmodes/peg.el (peg-syntax-classes): Typo


From: Stefan Monnier
Subject: emacs-30 a478423d19f: * lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#72131)
Date: Fri, 19 Jul 2024 14:18:34 -0400 (EDT)

branch: emacs-30
commit a478423d19fe320972fc319dd2cf7fdbca914754
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#72131)
---
 lisp/progmodes/peg.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/peg.el b/lisp/progmodes/peg.el
index d19a48c3294..96334162195 100644
--- a/lisp/progmodes/peg.el
+++ b/lisp/progmodes/peg.el
@@ -698,7 +698,7 @@ rulesets defined previously with `define-peg-ruleset'."
 (cl-defmethod peg--translate ((_ (eql guard)) exp) exp)
 
 (defvar peg-syntax-classes
-  '((whitespace ?-) (word ?w) (symbol ?s) (punctuation ?.)
+  '((whitespace ?-) (word ?w) (symbol ?_) (punctuation ?.)
     (open ?\() (close ?\)) (string ?\") (escape ?\\) (charquote ?/)
     (math ?$) (prefix ?') (comment ?<) (endcomment ?>)
     (comment-fence ?!) (string-fence ?|)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]