hush: fix heredoc handling in the "cmd <<EOF ;<newline>" case

function                                             old     new   delta
parse_stream                                        2759    2787     +28

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2018-07-23 16:31:21 +02:00
parent d73cdbf84c
commit 3675c37b9b
7 changed files with 50 additions and 24 deletions

View File

@ -0,0 +1 @@
Ok

View File

@ -0,0 +1,4 @@
{ cat <<EOF ;
Ok
EOF
}