• v0.1.7 b4293b4f30

    formatter: add DATA_BLOCK to BLOCKS + DECLARATIONS

    lazar released this 2026-07-24 09:31:53 +00:00 | 0 commits to main since this release

    Without this, DATA_BLOCK wasn't recognized as a declaration block,
    so the stack was never populated for DB files. END_DATA_BLOCK fell
    through to regular-line handling and got a tab prefix (from body
    get_indent()), while DATA_BLOCK itself was flush-left.

    Added DATA_BLOCK to both BLOCKS (ender = END_DATA_BLOCK) and
    DECLARATIONS so it gets the same treatment as FUNCTION_BLOCK:
    stack cleared, no_indent=true, and END_DATA_BLOCK handled by the
    declaration ender path (flush-left output).

    Downloads