diff options
| author | Daniel Cerqueira <dan.git@lispclub.com> | 2026-08-19 14:42:10 +0100 |
|---|---|---|
| committer | Daniel Cerqueira <dan.git@lispclub.com> | 2026-08-19 14:49:27 +0100 |
| commit | 7a29654c4a8312f4e91fbf1e5cc76ce33e39c401 (patch) | |
| tree | 32b79ee59496e411d70cdf2754a85a1fb37199fd /liblali.c | |
| parent | a211b81c4580afe57beed18fea4a913f8fedab6a (diff) | |
rename initialReadNext() to shebangFileReadNext()
Diffstat (limited to 'liblali.c')
| -rw-r--r-- | liblali.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -493,7 +493,7 @@ int readNext(Stream *stream) { } } -int initialReadNext(Stream *stream) { +int shebangFileReadNext(Stream *stream) { for (;;) { int ch = streamGetc(stream); if (ch == ';' || ch == '#') @@ -505,7 +505,7 @@ int initialReadNext(Stream *stream) { } int peekForward(Stream *stream, bool shebang) { - int ch = (shebang) ? initialReadNext(stream) : readNext(stream); + int ch = (shebang) ? shebangFileReadNext(stream) : readNext(stream); if (ch != EOF) streamSeek(stream, -1); return ch; |
