hush: probably fixing a bug in last LINENO fix
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 8 Feb 2018 18:39:42 +0000 (19:39 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 8 Feb 2018 18:39:42 +0000 (19:39 +0100)
commitf786901c4bc2e724221e5c07208c3cd7913cb98c
treedddfb251d33f3a37eb2ac520e93a15b1bf99ba73
parent5807e18f0c4f6fc247103830affcab73ca1ffa37
hush: probably fixing a bug in last LINENO fix

I don't have an example of mishandled script, but the logic looked wrong:
it could sometimes treat newlines as if they are spaces.

function                                             old     new   delta
parse_stream                                        2788    2787      -1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c