Klaas-Jan wrote:
On Sep 13, 6:18 am, [EMAIL PROTECTED] (Patrick R. Michaud) wrote:
On Wed, Sep 12, 2007 at 09:07:00AM -0700, Klaas-Jan Stol wrote:
I propose to make IMCC a bit stricter and have it enforce to use the
appropriate closing directive. So, close .pcc_begin_return with a
.pcc_end_return directive, and likewise for _yield directives.
Okay. These are generated far more often than they're produced by hand,
so the change shouldn't hurt anyone, and does promote consistency.
What I actually meant was that you can say:
pcc_begin_yield
yield 1
yield 2
yield 3
pcc_end_yield
Instead of writing the more confusing:
pcc_begin_yield
return 1
return 2
return 3
pcc_end_yield.
Also okay.
Allison