]> Kevux Git Server - fll/commit
Bugfix: Empty Objects are preserving leading white space when in original mode.
authorKevin Day <Kevin@kevux.org>
Thu, 3 Oct 2024 05:12:22 +0000 (00:12 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 3 Oct 2024 05:12:22 +0000 (00:12 -0500)
commit2e555313f3c6e29022ace22ad94b0c535c49f11a
tree51904a3ed6411a9a6705696963d7952f4694eee4
parentf5eb3f3090ccd2080817e7b58fce346d8b3e65ed
Bugfix: Empty Objects are preserving leading white space when in original mode.

This (unfortunately) adds more logic to processing the case when `--original` is used and the Object is empty.

This makes me wonder if I have to implement the opener range.
I was not happy about adding the `close` for memory and space reasons.
Adding this would introduce more inefficiencies.

I may end up having to add support for processing different types of structures if I want to support the simple Object and Content without the `open` and `close` positions as well as with those positions.
The focus in this commit is only on fixing the printing and does not introduce any of the behavior that I described here.
level_3/fss_read/c/main/print/data.c
level_3/fss_read/tests/runtime/fss_0002/expect/test-0003-object_space-object_and_content-original.expect
level_3/fss_read/tests/runtime/fss_0002/expect/test-0003-object_space-object_and_content-select-0-original.expect
level_3/fss_read/tests/runtime/fss_0003/expect/test-0003-object_space-object_and_content-original.expect
level_3/fss_read/tests/runtime/fss_0003/expect/test-0003-object_space-object_and_content-select-0-original.expect
level_3/fss_read/tests/runtime/fss_0008/expect/test-0003-object_space-object_and_content-select-0-original.expect