aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y6
1 files changed, 1 insertions, 5 deletions
diff --git a/awkgram.y b/awkgram.y
index 6e4d6c3b..d24565c0 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -3106,12 +3106,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) {