From ae83dc2bb4eaafbadfe28b88dadff594b8efc92a Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Sat, 20 Jun 2026 19:17:53 +0100 Subject: [PATCH] Make sure arguments isn't followed by a : and the seciton is code/text before checking if instruction exists --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index 037f52f..cb77bb8 100644 --- a/process.c +++ b/process.c @@ -1097,7 +1097,7 @@ static void process_line (char *line, char *line_end) { } - if (machine_dependent_find_templates (arg, 1)) { + if (*line != ':' && current_section == text_section && machine_dependent_find_templates (arg, 1)) { saved_ch = *(line = find_end_of_line (line)); *line = '\0'; -- 2.34.1