make SEMANTIC_CATCH work without USE_SETJMP

This commit is contained in:
dzaima 2025-06-11 17:47:02 +03:00
parent 53f331112f
commit abb9adbc50

View File

@ -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); } B fillBy_c2(Md2D* d, B w, B x) { return c2(d->f, w,x); }
#endif #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 extern GLOBAL B lastErrMsg; // sysfn.c
typedef struct ReObj { typedef struct ReObj {
struct CustomObj; struct CustomObj;