changeset 435:5524649f4784

Prevent parse errors when a macro definition is inside a conditional Allow macro definitions to be skipped properly when they are within a conditional construct that is being skipped.
author William Astle <lost@l-w.ca>
date Sat, 08 Apr 2017 21:44:39 -0600
parents 052c5f335a92
children 9f49f0966c1e
files lwasm/macro.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/macro.c	Mon Jan 23 22:58:36 2017 -0700
+++ b/lwasm/macro.c	Sat Apr 08 21:44:39 2017 -0600
@@ -43,6 +43,7 @@
 	if (as -> skipcond)
 	{
 		as -> skipmacro = 1;
+		skip_operand(p);
 		return;
 	}