fixing small exception bug
This commit is contained in:
		
							parent
							
								
									eaac150672
								
							
						
					
					
						commit
						0d643a05fe
					
				|  | @ -136,7 +136,7 @@ value_t fl_lasterror; | ||||||
|   _ctx.sp=SP; _ctx.frame=curr_frame; _ctx.rdst=readstate; _ctx.prev=fl_ctx; \ |   _ctx.sp=SP; _ctx.frame=curr_frame; _ctx.rdst=readstate; _ctx.prev=fl_ctx; \ | ||||||
|   _ctx.ngchnd = N_GCHND; fl_ctx = &_ctx;                                    \ |   _ctx.ngchnd = N_GCHND; fl_ctx = &_ctx;                                    \ | ||||||
|   if (!setjmp(_ctx.buf)) \ |   if (!setjmp(_ctx.buf)) \ | ||||||
|     for (l__tr=1; l__tr; l__tr=0, (void)(fl_ctx->prev&&(fl_ctx=fl_ctx->prev))) |     for (l__tr=1; l__tr; l__tr=0, (void)(fl_ctx=fl_ctx->prev)) | ||||||
| 
 | 
 | ||||||
| #define FL_CATCH \ | #define FL_CATCH \ | ||||||
|   else \ |   else \ | ||||||
|  |  | ||||||
|  | @ -179,7 +179,7 @@ extern value_t fl_lasterror; | ||||||
|   fl_exception_context_t _ctx; int l__tr, l__ca;                        \ |   fl_exception_context_t _ctx; int l__tr, l__ca;                        \ | ||||||
|   fl_savestate(&_ctx); fl_ctx = &_ctx;                                  \ |   fl_savestate(&_ctx); fl_ctx = &_ctx;                                  \ | ||||||
|   if (!setjmp(_ctx.buf))                                                \ |   if (!setjmp(_ctx.buf))                                                \ | ||||||
|     for (l__tr=1; l__tr; l__tr=0, (void)(fl_ctx->prev&&(fl_ctx=fl_ctx->prev))) |     for (l__tr=1; l__tr; l__tr=0, (void)(fl_ctx=fl_ctx->prev)) | ||||||
| 
 | 
 | ||||||
| #define FL_CATCH_EXTERN \ | #define FL_CATCH_EXTERN \ | ||||||
|   else \ |   else \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 JeffBezanson
						JeffBezanson