From: H. Peter Anvin Date: Sun, 29 Jun 2008 01:30:27 +0000 (-0700) Subject: preproc: MMacro.finishes is a pointer, not a boolean X-Git-Tag: nasm-2.11.05~1371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=538002dc01a5911d70870b94b074c9ff8983d545;p=platform%2Fupstream%2Fnasm.git preproc: MMacro.finishes is a pointer, not a boolean MMacro.finishes is a pointer, not a boolean, so set it to "false", not "NULL". --- diff --git a/preproc.c b/preproc.c index 8415ac0..8898d14 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; }