summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-28 18:30:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-28 18:30:27 -0700
commit538002dc01a5911d70870b94b074c9ff8983d545 (patch)
tree3b13d44ee2c5bd86cd9f9a83f0ce578496217b4c /preproc.c
parentf89d68180513bcac0adfa885d0023e4ef08ca455 (diff)
downloadnasm-538002dc01a5911d70870b94b074c9ff8983d545.tar.gz
preproc: MMacro.finishes is a pointer, not a boolean
MMacro.finishes is a pointer, not a boolean, so set it to "false", not "NULL".
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/preproc.c b/preproc.c
index 8415ac05..8898d14e 100644
--- a/preproc.c
+++ b/preproc.c
@@ -692,7 +692,7 @@ static char *read_line(void)
l = nasm_malloc(sizeof(Line));
l->next = istk->expansion;
l->first = head;
- l->finishes = false;
+ l->finishes = NULL;
istk->expansion = l;
}
do_predef = false;
@@ -4187,7 +4187,7 @@ static char *pp_getline(void)
Line *l = nasm_malloc(sizeof(Line));
l->next = defining->expansion;
l->first = tline;
- l->finishes = false;
+ l->finishes = NULL;
defining->expansion = l;
continue;
} else if (istk->conds && !emitting(istk->conds->state)) {
@@ -4291,7 +4291,7 @@ void pp_pre_include(char *fname)
l = nasm_malloc(sizeof(Line));
l->next = predef;
l->first = inc;
- l->finishes = false;
+ l->finishes = NULL;
predef = l;
}
@@ -4313,7 +4313,7 @@ void pp_pre_define(char *definition)
l = nasm_malloc(sizeof(Line));
l->next = predef;
l->first = def;
- l->finishes = false;
+ l->finishes = NULL;
predef = l;
}
@@ -4329,7 +4329,7 @@ void pp_pre_undefine(char *definition)
l = nasm_malloc(sizeof(Line));
l->next = predef;
l->first = def;
- l->finishes = false;
+ l->finishes = NULL;
predef = l;
}