]> git.eshelyaron.com Git - emacs.git/commit
Handle #@00 in new reader in a compatible way (bug#63722)
authorMattias Engdegård <mattiase@acm.org>
Thu, 25 May 2023 20:28:25 +0000 (22:28 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 26 May 2023 08:22:51 +0000 (10:22 +0200)
commitf535c0e49d5e629e60eabe9097b9c674783f9674
tree5f186e869a48b8652c97f3cdc25c99f4f4c0701f
parentc0d7447e9dc14cca9a71c8cd4a84573c22108662
Handle #@00 in new reader in a compatible way (bug#63722)

This was a regression from Emacs 28.

* src/lread.c (skip_lazy_string, read0): Make #@00 read as nil, which
is a quirk from the old reader that we preserve for compatibility.
* test/src/lread-tests.el (lread-skip-to-eof): Verify it.

Reported by Richard Newton.
src/lread.c
test/src/lread-tests.el