]> Kevux Git Server - fll/commit
Progress: Redesign the FSS identify functions.
authorKevin Day <Kevin@kevux.org>
Fri, 9 Oct 2026 00:30:26 +0000 (19:30 -0500)
committerKevin Day <Kevin@kevux.org>
Fri, 9 Oct 2026 00:30:26 +0000 (19:30 -0500)
commit1af0a300e3103b1494310ba48d4bcc3203356dff
treedd832089058a5c0b9801da7f8669509f2593ca6b
parent048a547d48471ef29251ae3f11f269b0a5681bce
Progress: Redesign the FSS identify functions.

Always reset the original used length on error.

Reduce the number of return statements.

Add a check for the combining joiner characters after the `#`.

Remove inaccurate comment about depending on `f_utf_is_combining()` from parse function.

Utilize the `f_state_t` locally to perform the necessary operations.
This is not exposed to the caller to prevent **API** and **ABI** breakage.
Future versions of **FLL** (0.9+) are expected to pass the state via the function parameter.

Switch to the new practice of using flags to manage special internal states.
This no longer guesses success based on `ids.used` being non-zero.
Using the internal flags allows accurate handling.

Add comments to functions that need `f_state_t` so that future version of **FLL** can properly handle.
level_0/f_parse/c/parse.c
level_0/f_parse/c/parse.h
level_2/fll_fss/c/fss.c
level_2/fll_fss/c/fss.h