diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-28 18:30:27 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-28 18:30:27 -0700 |
commit | 538002dc01a5911d70870b94b074c9ff8983d545 (patch) | |
tree | 3b13d44ee2c5bd86cd9f9a83f0ce578496217b4c /preproc.c | |
parent | f89d68180513bcac0adfa885d0023e4ef08ca455 (diff) | |
download | nasm-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; } |