]> git.eshelyaron.com Git - emacs.git/commit
Lisp reader undefined behaviour excision
authorMattias Engdegård <mattiase@acm.org>
Tue, 6 Dec 2022 11:13:18 +0000 (12:13 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 6 Dec 2022 11:13:18 +0000 (12:13 +0100)
commit9b9b39a2d8979af7430a4e2370ef7857c4a2dbce
treec573984732e7f623e0075e2071eb95ba12178394
parent717f8477284170dd59315a3c64cc7e492e9366e2
Lisp reader undefined behaviour excision

* src/lread.c (read_bool_vector, skip_lazy_string):
Replace `|` with `||` to explicitly introduce sequence points since
the variables, `length` and `nskip`, are mutated more than once.

The `|` was just a weak attempt at micro-optimisation in any case;
sorry about that.
src/lread.c