develooper Front page | perl.perl5.porters | Postings from January 2011

Re: [PATCH] Make goto into a construct an error

Thread Previous | Thread Next
From:
Reini Urban
Date:
January 9, 2011 13:20
Subject:
Re: [PATCH] Make goto into a construct an error
Message ID:
AANLkTin=ye6n+HQrWOjO94UsWc1KL0PtM48OPKGJmhf5@mail.gmail.com
2010/12/30 Gerard Goossen <gerard@ggoossen.net>:
> The patch makes goto into a construct into an error, as this
> is not supported by the codegeneation step.

But codegen should detect such a label target (nextstate)
and split the codeseq at this point.
That's how other compilers do it.
-- 
Reini Urban

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About