hush: fix handling of heredocs starting with empty lines
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Jul 2018 13:43:57 +0000 (15:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 23 Jul 2018 13:43:57 +0000 (15:43 +0200)
commitd73cdbf84c9c7d509baf69eb3256dcaf733f4d93
tree676c221aa69cf5922890993baccc9c9040d7f4d8
parentca2f831ead327d98ab3374acb3b07ad7632ea02d
hush: fix handling of heredocs starting with empty lines

function                                             old     new   delta
parse_stream                                        2748    2759     +11

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