]> granicus.if.org Git - yasm/commitdiff
Fix %INCLUDE in last line of mmac/loop expansion.
authorPeter Johnson <peter@tortall.net>
Mon, 18 Sep 2006 05:40:49 +0000 (05:40 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 18 Sep 2006 05:40:49 +0000 (05:40 -0000)
NASM SF Bug #890790.
Patch by: nasm64developer@yahoo.com

svn path=/trunk/yasm/; revision=1621

modules/preprocs/nasm/nasm-pp.c

index 518d96d69735d8724cc0b9d6647d34d9e535de41..7408a7e66b76ff12d64292a52a3b75bd5e8b4fc3 100644 (file)
@@ -4320,6 +4320,8 @@ pp_getline(void)
                nasm_free(i);
                if (!istk)
                    return NULL;
+               if (istk->expansion && istk->expansion->finishes)
+                   break;
            }
        }