preproc: fix potential bug regarding MMacro->prev and %rep

This commit is contained in:
Keith Kanios 2009-07-11 06:18:43 -05:00
parent 891775e5ba
commit 8059902f12

View File

@ -2768,6 +2768,7 @@ static int do_directive(Token * tline)
tmp_defining = defining;
defining = nasm_malloc(sizeof(MMacro));
defining->prev = NULL;
defining->name = NULL; /* flags this macro as a %rep block */
defining->casesense = false;
defining->plus = false;