hush: fix handling of \<eof> in double-quoted strings
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 10 Apr 2018 12:49:01 +0000 (14:49 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 10 Apr 2018 12:49:01 +0000 (14:49 +0200)
commit4709df0f152c477c191f83e18bfecabb2fb2c1f9
treefa94cad09f55f5a46c8bb793637278b62f2a4b6d
parentbcf56114fa7f037cea579cdc8d17ac1a5dab93a3
hush: fix handling of \<eof> in double-quoted strings

function                                             old     new   delta
encode_string                                        268     250     -18

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-parsing/bkslash_eof2.right [new file with mode: 0644]
shell/hush_test/hush-parsing/bkslash_eof2.tests [new file with mode: 0755]