aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asm/preproc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/asm/preproc.c b/asm/preproc.c
index 833a3d47..5f6b0a62 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -4198,7 +4198,8 @@ again:
do {
t = tline->next;
while (tok_type_(t, TOK_SMAC_END)) {
- t->a.mac->in_progress = false;
+ if (t->a.mac)
+ t->a.mac->in_progress = false;
t->text = NULL;
t = tline->next = delete_Token(t);
}
@@ -4228,7 +4229,8 @@ again:
*/
t = tline->next;
while (tok_type_(t, TOK_SMAC_END)) {
- t->a.mac->in_progress = false;
+ if (t->a.mac)
+ t->a.mac->in_progress = false;
t->text = NULL;
t = tline->next = delete_Token(t);
}