Apply patch from BR 890790

This commit is contained in:
Victor van den Elzen 2008-10-01 13:08:50 +02:00
parent cf9332ca51
commit 4c9d6220b4
3 changed files with 10 additions and 0 deletions

View file

@ -4412,6 +4412,8 @@ static char *pp_getline(void)
nasm_free(i); nasm_free(i);
if (!istk) if (!istk)
return NULL; return NULL;
if (istk->expansion && istk->expansion->finishes)
break;
} }
} }

7
test/br890790.asm Executable file
View file

@ -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

1
test/br890790_i.asm Executable file
View file

@ -0,0 +1 @@
db 2