[fpc-devel] Non-local goto’s and nested exits

Florian Klaempfl florian at freepascal.org
Thu Oct 14 14:14:32 CEST 2010


Am 14.10.2010 14:12, schrieb Florian Klaempfl:
> Am 14.10.2010 14:09, schrieb Adriaan van Os:
>> Jonas Maebe wrote:
>>>
>>> On 04 Oct 2010, at 12:17, Adriaan van Os wrote:
>>>
>>>> I wonder if there is anything special that hinders the implementation
>>>> of non-local goto’s and nested exits in macpas mode.
>>>
>>> Afaik it's mainly a matter of no one caring enough about it to
>>> implement it. Florian did recently add support for non-local goto's in
>>> ISO mode, but it uses setjmp/longjmp directly and therefore probably
>>> doesn't play nice with automated types.
>>
>> You mean, for example, the implicit exception handling of Ansistrings ?
> 
> Yes, I think I didn't handle this properly. Gotos out and into
> procedures 

Actually into is allowed and possible.



More information about the fpc-devel mailing list