projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a41c07
)
Make sure arguments isn't followed by a : and the seciton is code/text before checkin...
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 20 Jun 2026 18:17:53 +0000
(19:17 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 20 Jun 2026 18:17:53 +0000
(19:17 +0100)
process.c
patch
|
blob
|
history
diff --git
a/process.c
b/process.c
index 037f52fce294b8f3006adbc533aee2c6553b614d..cb77bb8bfec443409f7a58c80776fe191b6ebec2 100644
(file)
--- 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';
saved_ch = *(line = find_end_of_line (line));
*line = '\0';