diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-01-21 16:48:59 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-01-21 16:48:59 -0800 |
commit | eccad1e4f3827f58700457474c7b1f7bf9d4223f (patch) | |
tree | a6a1fc863e587eab5fbdd15b772372adf724aa95 /tests/019/data/b.tl | |
parent | 9ee82d9d744de52916817412318f43f26960d719 (diff) | |
download | txr-eccad1e4f3827f58700457474c7b1f7bf9d4223f.tar.gz txr-eccad1e4f3827f58700457474c7b1f7bf9d4223f.tar.bz2 txr-eccad1e4f3827f58700457474c7b1f7bf9d4223f.zip |
get-csv: refactor into switches.
* stream.c (get_csv): All cases handle end-of-stream
the same way, so we check for nil outside of the case
switch. Then only characters need to be handled, so we
can call c_chr(ch) and switch on it.
Diffstat (limited to 'tests/019/data/b.tl')
0 files changed, 0 insertions, 0 deletions