From ab2e3659a3303b02bfcc0bb592e2666d9b97ab3a Mon Sep 17 00:00:00 2001 From: RPG Hacker Date: Sat, 27 Jan 2024 13:18:43 +0100 Subject: [PATCH] Fixed defines sometimes being evaluated in inactive branches --- src/asar/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asar/main.cpp b/src/asar/main.cpp index 788631d0..375cf04a 100644 --- a/src/asar/main.cpp +++ b/src/asar/main.cpp @@ -525,7 +525,7 @@ void assembleline(const char * fname, int linenum, const char * line) try { string tmp; - if(inmacro) tmp = replace_macro_args(line); + if(inmacro && numif == numtrue) tmp = replace_macro_args(line); else tmp = line; clean(tmp); string out;