fix typo in comment
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
c3adfacd22
commit
83b900fb82
@ -3174,7 +3174,7 @@ static char *fetch_till_str(o_string *as_string,
|
|||||||
ch = i_getch(input);
|
ch = i_getch(input);
|
||||||
nommu_addchr(as_string, ch);
|
nommu_addchr(as_string, ch);
|
||||||
if (ch == '\n'
|
if (ch == '\n'
|
||||||
/* TODO: or EOF? (heredoc delimiter may end with <eof>, not only <eol> */
|
/* TODO: or EOF? (heredoc delimiter may end with <eof>, not only <eol>) */
|
||||||
&& ((heredoc_flags & HEREDOC_QUOTED) || prev != '\\')
|
&& ((heredoc_flags & HEREDOC_QUOTED) || prev != '\\')
|
||||||
) {
|
) {
|
||||||
if (strcmp(heredoc.data + past_EOL, word) == 0) {
|
if (strcmp(heredoc.data + past_EOL, word) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user