From: Robert Pengelly Date: Sat, 20 Jun 2026 18:17:53 +0000 (+0100) Subject: Make sure arguments isn't followed by a : and the seciton is code/text before checkin... X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;p=sasm.git Make sure arguments isn't followed by a : and the seciton is code/text before checking if instruction exists --- 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';