]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#72131)
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Jul 2024 18:18:29 +0000 (14:18 -0400)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:32:38 +0000 (12:32 +0200)
(cherry picked from commit a478423d19fe320972fc319dd2cf7fdbca914754)

lisp/progmodes/peg.el

index d19a48c3294d0407fc0b4be1602d5d16eff28684..963341621955fd835b9e9ff6f2c0367fd0507912 100644 (file)
@@ -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 ?|)))