Re: [fpc-devel] Non-local goto’s and nested exits
    Jonas Maebe 
    jonas.maebe at elis.ugent.be
       
    Thu Oct 14 13:52:31 CEST 2010
    
    
  
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.
> I am asking because emulation through exception-handling does seem  
> to work (which implies that the code to unwind the stack is there).
Indeed.
Jonas
    
    
More information about the fpc-devel
mailing list