From 48857058eb273fa58ab470a50287bc9b1dbd61a9 Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sun, 26 Dec 2021 07:57:00 -0500 Subject: [PATCH] Fix minor issue involving #define -1 inside of an #if block --- cc_macro.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cc_macro.c b/cc_macro.c index 8ad7730..4ff6f53 100644 --- a/cc_macro.c +++ b/cc_macro.c @@ -551,9 +551,8 @@ void handle_define() if(NULL == hold) { - fputs("#define got something it can't handle\n", stderr); - line_error_token(macro_token); - exit(EXIT_FAILURE); + eat_current_token(); + continue; } expansion_end = macro_token;