diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-19 14:25:37 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-19 14:25:44 +0200 |
commit | d181e410fcb26a293e8345fad54507d275fc807c (patch) | |
tree | ed07b0a79f74347164d1c87906177cb9e9d35e57 /test/lisp/emacs-lisp | |
parent | d60d96ffa0d1992b0177a34ff09aa7efea279862 (diff) | |
download | emacs-d181e410fcb26a293e8345fad54507d275fc807c.tar.gz emacs-d181e410fcb26a293e8345fad54507d275fc807c.tar.bz2 emacs-d181e410fcb26a293e8345fad54507d275fc807c.zip |
Fix edebug parsing of .,
* lisp/emacs-lisp/edebug.el (edebug-next-token-class): Parse .,
correctly (bug#37653).
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/edebug-tests.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/edebug-tests.el b/test/lisp/emacs-lisp/edebug-tests.el index 35259a796a0..008e1e467ba 100644 --- a/test/lisp/emacs-lisp/edebug-tests.el +++ b/test/lisp/emacs-lisp/edebug-tests.el @@ -1104,5 +1104,14 @@ This avoids potential duplicate definitions (Bug#41988)." (edebug-initial-mode 'Go-nonstop)) (eval-buffer)))) +(ert-deftest edebug-test-dot-reader () + (with-temp-buffer + (insert "(defun x () `(t .,t))") + (goto-char (point-min)) + (should (equal (save-excursion + (edebug-read-storing-offsets (current-buffer))) + (save-excursion + (read (current-buffer))))))) + (provide 'edebug-tests) ;;; edebug-tests.el ends here |