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>
This commit is contained in:
Denys Vlasenko
2018-04-10 14:49:01 +02:00
parent bcf56114fa
commit 4709df0f15
3 changed files with 12 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
hush: syntax error: unterminated "
One:1