On 16/09/2021 19:51, Paul Eggert wrote:
On 9/16/21 4:34 AM, Pádraig Brady wrote:
It got me thinking though, that we should not we warning/failing on
blank lines.
I.e., we should be treating blank lines like comments.
The attached does that.
Thaks, a good improvement. The nerd in me also suggests changing this:
line[line_length] = '\0';
/* Ignore blank lines. */
if (line_length == 0)
continue;
to this:
/* Ignore empty lines. */
if (line_length == 0)
continue;
line[line_length] = '\0';
Pushed with that adjustment.
cheers,
Pádraig