From 522b772ce9d5d17e797c0745c1773032cb8b9502 Mon Sep 17 00:00:00 2001 From: Randy Jordan Date: Sun, 15 Feb 2026 11:49:14 -0600 Subject: [PATCH] Fixed capitalization --- include/except.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/except.h b/include/except.h index 222a7ca..3cbcea7 100644 --- a/include/except.h +++ b/include/except.h @@ -29,19 +29,19 @@ void except_raise(const struct Exception *e, const char *file, int line); // Try Catch MACROS - LINUX #define RAISE(e) except_raise(&(e), __FILE__, __LINE__) -#define RERAISE except_raise(Except_frame.exception, \ - Except_frame.file, Except_frame.line) +#define RERAISE except_raise(except_frame.exception, \ + except_frame.file, except_frame.line) #define RETURN switch (Except_stack = Except_stack->prev,0) default: return #define TRY do { \ volatile int Except_flag; \ - Except_Frame Except_frame; \ - Except_frame.prev = Except_stack; \ - Except_stack = &Except_frame; \ - Except_flag = setjmp(Except_frame.env); \ + Except_Frame except_frame; \ + except_frame.prev = Except_stack; \ + Except_stack = &except_frame; \ + Except_flag = setjmp(except_frame.env); \ if (Except_flag == EXCEPT_STATE_ENTERED) { #define EXCEPT(e) \ if (Except_flag == EXCEPT_STATE_ENTERED) Except_stack = Except_stack->prev; \ - } else if (Except_frame.exception == &(e)) { \ + } else if (except_frame.exception == &(e)) { \ Except_flag = EXCEPT_STATE_HANDLED; #define ELSE \ if (Except_flag == EXCEPT_STATE_ENTERED) Except_stack = Except_stack->prev; \ @@ -68,20 +68,20 @@ extern void except_push(Except_Frame *fp); extern void except_pop(void); #define RAISE(e) except_raise(&(e), __FILE__, __LINE__) -#define RERAISE except_raise(Except_frame.exception, \ - Except_frame.file, Except_frame.line) +#define RERAISE except_raise(except_frame.exception, \ + except_frame.file, except_frame.line) #define RETURN switch (Except_pop(),0) default: return #define TRY do { \ volatile int Except_flag; \ - Except_Frame Except_frame; \ + Except_Frame except_frame; \ if (Except_index == -1) \ Except_init(); \ - Except_push(&Except_frame); \ - Except_flag = setjmp(Except_frame.env); \ + Except_push(&except_frame); \ + Except_flag = setjmp(except_frame.env); \ if (Except_flag == EXCEPT_STATE_ENTERED) { #define EXCEPT(e) \ if (Except_flag == EXCEPT_STATE_ENTERED) Except_pop(); \ - } else if (Except_frame.exception == &(e)) { \ + } else if (except_frame.exception == &(e)) { \ Except_flag = EXCEPT_STATE_HANDLED; #define ELSE \ if (Except_flag == EXCEPT_STATE_ENTERED) Except_pop(); \