Closed wlupton closed 2 years ago
I added some comments to the commit. In summary, I think there were two problems:
line_len
;
{
need_new_line()
line_len + 1
The first problem accounted for an error of 2 and the second for an error of 1, giving the observed error of 3.
2
1
3
I added some comments to the commit. In summary, I think there were two problems:
line_len
was already incremented on the assumption that the argument is a single line (so it added 1 for the closing quote and 1 or 2 for;
or{
)need_new_line()
was called withline_len + 1
that I think should beline_len
The first problem accounted for an error of
2
and the second for an error of1
, giving the observed error of3
.