diff options
author | Keith Kanios <keith@kanios.net> | 2009-07-11 06:18:43 -0500 |
---|---|---|
committer | Keith Kanios <keith@kanios.net> | 2009-07-11 06:18:43 -0500 |
commit | 8059902f125174fc2757b555309a647721c88f5a (patch) | |
tree | 1f0467c81c92f098e2e2343cd5227d9bbe7d247b | |
parent | 891775e5ba9fc368fe67b4f3d213f4924d74a490 (diff) | |
download | nasm-8059902f125174fc2757b555309a647721c88f5a.tar.gz |
preproc: fix potential bug regarding MMacro->prev and %rep
-rw-r--r-- | preproc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |