]> Kevux Git Server - fll/commit
Progress: Handle basic list combining/joiner at start and fix unit test.
authorKevin Day <Kevin@kevux.org>
Wed, 14 Oct 2026 02:38:51 +0000 (21:38 -0500)
committerKevin Day <Kevin@kevux.org>
Wed, 14 Oct 2026 03:26:24 +0000 (22:26 -0500)
commita97f7f0213c1bc0b3aacfb025b4069c7588129e8
tree095648b86e33c07629dfced0da77083e693411ba
parent34fb50ad284fbb7a28dc1cbb9d58fd5587f009b4
Progress: Handle basic list combining/joiner at start and fix unit test.

For lists, if the start of a line is a combining/joiner, then it must be treated as Content even if it would otherwise be a valid Object on that line.

The unit test actually has to handle when `F_okay_eos` or `F_okay_stop` is returned on content read.
The basic list doesn't know if the content is a valid object or not.
It can be assumed, but the function does not do this.

The caller must handle incrementing found.used when either `F_okay_eos` or `F_okay_stop` is returned.
Update the comment on this as well.

Properly verify that `newline_last` is in fact a new line by checking it against the `begin` position.
The basic list already has `begin`, but extended list has `begin` added to perform this check.
level_1/fl_fss/c/fss/basic_list.c
level_1/fl_fss/c/fss/embedded_list.c
level_1/fl_fss/c/fss/extended_list.c
level_1/fl_fss/tests/unit/c/test-fss-basic_list_content_read.c