diff --git a/extlib/benz/error.c b/extlib/benz/error.c index 56a0c39b..51d15a2f 100644 --- a/extlib/benz/error.c +++ b/extlib/benz/error.c @@ -19,6 +19,8 @@ pic_panic(pic_state *pic, const char *msg) #endif PIC_ABORT(pic); + + PIC_UNREACHABLE(); } void diff --git a/extlib/benz/include/picrin.h b/extlib/benz/include/picrin.h index c422833e..cd1bf61d 100644 --- a/extlib/benz/include/picrin.h +++ b/extlib/benz/include/picrin.h @@ -175,7 +175,7 @@ enum { PIC_TYPE_CXT = 30, PIC_TYPE_CP = 31, PIC_TYPE_FUNC = 32, - PIC_TYPE_IREP = 33, + PIC_TYPE_IREP = 33 }; #define pic_invalid_p(pic,v) (pic_type(pic,v) == PIC_TYPE_INVALID) diff --git a/extlib/benz/include/picrin/setup.h b/extlib/benz/include/picrin/setup.h index c04b7f42..49706ba7 100644 --- a/extlib/benz/include/picrin/setup.h +++ b/extlib/benz/include/picrin/setup.h @@ -40,6 +40,7 @@ #endif #ifndef PIC_ABORT +void abort(void); # define PIC_ABORT(pic) abort() #endif