diff options
| -rw-r--r-- | liblali.c | 4 | ||||
| -rw-r--r-- | liblali.h | 2 |
2 files changed, 3 insertions, 3 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; @@ -241,7 +241,7 @@ Object *readExpr(Stream *stream, GC_PARAM); int readNext(Stream *stream); -int initialReadNext(Stream *stream); +int shebangFileReadNext(Stream *stream); int peekForward(Stream *stream, bool shebang); |
