[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] gawk/master exists after @include directive
From: |
arnold |
Subject: |
Re: [bug-gawk] gawk/master exists after @include directive |
Date: |
Sun, 30 Apr 2017 05:12:39 -0600 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi. Thanks for the report. Please see the diff below. It fixes
the issue for me.
Thanks,
Arnold
"Hermann Peifer" <address@hidden> wrote:
> See the below example. The bug appears in committ 09149c0.. Fix --source
> to be like 3.1.x and improve the doc. The sample code works fine with
> the previous committ (84f33c8... Really fix the 64 bit alignment issue.)
>
> Hermann
-------------------------------------------
diff --git a/awkgram.y b/awkgram.y
index 2c1555b8..b72d1c82 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) {
- Re: [bug-gawk] gawk/master exits(?) after @include directive, (continued)
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Hermann Peifer, 2017/04/28
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Andrew J. Schorr, 2017/04/28
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Hermann Peifer, 2017/04/28
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Andrew J. Schorr, 2017/04/28
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Andrew J. Schorr, 2017/04/28
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Manuel Collado, 2017/04/29
- Re: [bug-gawk] gawk/master exits(?) after @include directive, Andrew J. Schorr, 2017/04/29
Re: [bug-gawk] gawk/master exists after @include directive, arnold, 2017/04/29
Re: [bug-gawk] gawk/master exists after @include directive,
arnold <=