Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Krush206 committed Apr 15, 2024
1 parent a574fd6 commit 9556e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sh.lex.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ word(int parsehtime)
break;
}
if (intty && c == '#') {
Strbuf_append1(&wbuf, c);
while ((c = readc(1)) != CHAR_ERR && c != '\n')
do
Strbuf_append1(&wbuf, c);
while ((c = readc(1)) != CHAR_ERR && c != '\n');
unreadc('\n');
goto ret;
}
Expand Down

0 comments on commit 9556e8c

Please sign in to comment.