From abb9adbc50faa06b86435b239c78a8b2fc05d9d9 Mon Sep 17 00:00:00 2001 From: dzaima Date: Wed, 11 Jun 2025 17:47:02 +0300 Subject: [PATCH] make SEMANTIC_CATCH work without USE_SETJMP --- src/builtins/md2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/md2.c b/src/builtins/md2.c index c64af514..58948cde 100644 --- a/src/builtins/md2.c +++ b/src/builtins/md2.c @@ -33,7 +33,7 @@ B fillBy_c1(Md2D* d, B x) { return c1(d->f, x); } B fillBy_c2(Md2D* d, B w, B x) { return c2(d->f, w,x); } #endif -#if defined(SEMANTIC_CATCH_BI)? SEMANTIC_CATCH_BI : SEMANTIC_CATCH +#if defined(SEMANTIC_CATCH_BI)? SEMANTIC_CATCH_BI : (SEMANTIC_CATCH && USE_SETJMP) extern GLOBAL B lastErrMsg; // sysfn.c typedef struct ReObj { struct CustomObj;