diff options
| author | Mattias EngdegÄrd | 2024-05-11 13:14:13 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2025-07-07 17:11:55 +0200 |
| commit | 32a0367554334c14fc1a9242fa6bfc45abe3d032 (patch) | |
| tree | 4a190e3e69af41cba6dc064c2fdbc3ecfe07f972 /java/res/values | |
| parent | 501bb04e53ee43736d941d0bd492cf88ea6b3385 (diff) | |
| download | emacs-32a0367554334c14fc1a9242fa6bfc45abe3d032.tar.gz emacs-32a0367554334c14fc1a9242fa6bfc45abe3d032.zip | |
Refactor buffering code in the Lisp reader
Abstract the buffering in the reader with a struct and plain functions
instead of rather unhygienic preprocessor macros.
* src/lread.c (READ_AND_BUFFER, INVALID_SYNTAX_WITH_BUFFER):
Removed, replaced with...
(readbuf_t, readbuf_grow, add_char_to_buffer, read_and_buffer)
(invalid_syntax_with_buffer): ...these new functions and struct.
(read0): Use new code instead of old preprocessor macros.
Diffstat (limited to 'java/res/values')
0 files changed, 0 insertions, 0 deletions