diff options
author | Victor van den Elzen <victor.vde@gmail.com> | 2008-10-01 13:08:50 +0200 |
---|---|---|
committer | Victor van den Elzen <victor.vde@gmail.com> | 2008-10-01 13:09:27 +0200 |
commit | 4c9d6220b4b9047c7882c259d1a1d638941cd750 (patch) | |
tree | 3196e9a28235a66287f56f99017c14c0fd97fa93 | |
parent | cf9332ca511526ab5cabe429c479c781be2b4ac7 (diff) | |
download | nasm-4c9d6220b4b9047c7882c259d1a1d638941cd750.tar.gz |
Apply patch from BR 890790
-rw-r--r-- | preproc.c | 2 | ||||
-rwxr-xr-x | test/br890790.asm | 7 | ||||
-rwxr-xr-x | test/br890790_i.asm | 1 |
3 files changed, 10 insertions, 0 deletions
@@ -4412,6 +4412,8 @@ static char *pp_getline(void) nasm_free(i); if (!istk) return NULL; + if (istk->expansion && istk->expansion->finishes) + break; } } diff --git a/test/br890790.asm b/test/br890790.asm new file mode 100755 index 00000000..9a3d628d --- /dev/null +++ b/test/br890790.asm @@ -0,0 +1,7 @@ +;Testname=test; Arguments=-fbin -obr890790.bin; Files=.stdout .stderr br890790.bin +%rep 5 + db 0 + %include "br890790_i.asm" +%endrep + +db 1 diff --git a/test/br890790_i.asm b/test/br890790_i.asm new file mode 100755 index 00000000..7ff797f3 --- /dev/null +++ b/test/br890790_i.asm @@ -0,0 +1 @@ +db 2 |