[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] exit in BEGIN without trigger END
From: |
Eli Zaretskii |
Subject: |
Re: [bug-gawk] exit in BEGIN without trigger END |
Date: |
Wed, 28 Nov 2018 19:38:50 +0200 |
> From: Peng Yu <address@hidden>
> Date: Wed, 28 Nov 2018 11:09:30 -0600
> Cc: address@hidden
>
> > How about setting a flag in BEGIN and testing it in END? Then you
> > could cause END do nothing if BEGIN called 'exit'.
>
> It could be a solution but END needs to know this in BEGIN.
I don't see why would that be a problem. The same person writes both
BEGIN and END, right?