From 6eaed4c68b5a604bbdd5d25d45e306802ddd1110 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 18 Sep 2006 05:40:49 +0000 Subject: [PATCH] Fix %INCLUDE in last line of mmac/loop expansion. NASM SF Bug #890790. Patch by: nasm64developer@yahoo.com svn path=/trunk/yasm/; revision=1621 --- modules/preprocs/nasm/nasm-pp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/preprocs/nasm/nasm-pp.c b/modules/preprocs/nasm/nasm-pp.c index 518d96d6..7408a7e6 100644 --- a/modules/preprocs/nasm/nasm-pp.c +++ b/modules/preprocs/nasm/nasm-pp.c @@ -4320,6 +4320,8 @@ pp_getline(void) nasm_free(i); if (!istk) return NULL; + if (istk->expansion && istk->expansion->finishes) + break; } } -- 2.40.0