Files
jq/tests
Qatadaha Bin Matloob 5cd5edb2e9 Count the line a value ends on when its newline has not been read yet (#3624)
`current_line` was incremented only when a read contained a newline,
so `input_line_number` and error locations reported the previous line
for a value whose line had not been terminated yet: the last line of
input without a trailing newline, or a value ending exactly on the
read-buffer boundary.

Track whether the last read stopped short of a newline and add it to
the reported line number.
2026-12-03 16:16:16 +09:00
..
…
…
…
…
…
…
…