aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorMattias EngdegÄrd2024-05-11 13:14:13 +0200
committerMattias EngdegÄrd2025-07-07 17:11:55 +0200
commit32a0367554334c14fc1a9242fa6bfc45abe3d032 (patch)
tree4a190e3e69af41cba6dc064c2fdbc3ecfe07f972 /java/org
parent501bb04e53ee43736d941d0bd492cf88ea6b3385 (diff)
downloademacs-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/org')
0 files changed, 0 insertions, 0 deletions