diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-21 12:09:35 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-21 12:09:35 +0200 |
| commit | aaf3dc5ba55d46b6b318bb761305013f4c533b26 (patch) | |
| tree | 7b60e382a93a496330c8c925494a261ec42591d1 /lib/render/emit_json.mli | |
| parent | 83cc11e31c08d14fd3449f95872f346a4daaf2b8 (diff) | |
| download | colitur-aaf3dc5ba55d46b6b318bb761305013f4c533b26.tar.gz colitur-aaf3dc5ba55d46b6b318bb761305013f4c533b26.zip | |
fix(cli): diagnose an INI overlay passed to --overlay
The INI overlay form is a SOURCE format that 'colitur convert' turns into
the S-expression one. Handing the INI to --overlay instead failed deep in
the sexp reader with 'more than one S-expression in file', which names
neither the cause nor the cure -- and the shipped examples under
data/ef/examples/ are exactly the files someone would try that with.
The detector reads past the comment header to the first real line and
looks for a [section]. Its first version capped that scan at 40 lines and
poland.ini's own header is 43, so it silently never fired on the very
file it was written for; the cap now bounds only how much of a binary
gets read, and is not a guess at header length.
Diffstat (limited to 'lib/render/emit_json.mli')
0 files changed, 0 insertions, 0 deletions
