aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/awkgram.c b/awkgram.c
index aa7b4a49..b63a4efd 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -5526,12 +5526,8 @@ again:
if (lexeof) {
if (sourcefile->next == srcfiles)
return END_FILE;
- else {
+ else
next_sourcefile();
- if (get_src_buf())
- goto again;
- return END_SRC;
- }
}
#endif
if (lexptr == NULL || lexptr >= lexend) {