diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-05-01 15:52:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-05-01 15:52:55 +0300 |
commit | d5491215cec13204eacfa517d81f5696c765c29c (patch) | |
tree | a1492858f86e9a02301dd93aeb4023a9a84da482 /awkgram.c | |
parent | 8972aa34f007e12c3eb3270b79d39403d80a542f (diff) | |
download | egawk-d5491215cec13204eacfa517d81f5696c765c29c.tar.gz egawk-d5491215cec13204eacfa517d81f5696c765c29c.tar.bz2 egawk-d5491215cec13204eacfa517d81f5696c765c29c.zip |
Additional fix for --source, and add test case.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) { |