summaryrefslogtreecommitdiffstats
path: root/tests/000/binding.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-01-21 16:48:59 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-01-21 16:48:59 -0800
commiteccad1e4f3827f58700457474c7b1f7bf9d4223f (patch)
treea6a1fc863e587eab5fbdd15b772372adf724aa95 /tests/000/binding.expected
parent9ee82d9d744de52916817412318f43f26960d719 (diff)
downloadtxr-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/000/binding.expected')
0 files changed, 0 insertions, 0 deletions