diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-31 12:59:16 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-31 12:59:16 +0300 |
commit | bc61f29c492b480545ae31b4b5709f76fe3710b0 (patch) | |
tree | 0d4989b4bcca2c94fc59c526fcf476912ab78a49 /doc/gawktexi.in | |
parent | b8213e3abbd39a851b1510b39b7155b022b02d99 (diff) | |
parent | be0e2af1588b358353941eff27c5ef06da2c90b3 (diff) | |
download | egawk-bc61f29c492b480545ae31b4b5709f76fe3710b0.tar.gz egawk-bc61f29c492b480545ae31b4b5709f76fe3710b0.tar.bz2 egawk-bc61f29c492b480545ae31b4b5709f76fe3710b0.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index fc9acb0f..266fc575 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -25741,7 +25741,7 @@ line. That line is then printed to the output file: @} if ($3 != curfile) @{ if (curfile != "") - filelist[curfile]++ # save to close later + filelist[curfile] = 1 # save to close later curfile = $3 @} @@ -25798,8 +25798,9 @@ is finished: @c file eg/prog/extract.awk @group END @{ - for (f in filelist) - close(filelist[f]) + close(curfile) # close the last one + for (f in filelist) # close all the rest + close(f) @} @end group @c endfile |