# HG changeset patch # User William Astle # Date 1491709479 21600 # Node ID 5524649f478402a36c14fa5e3a367ceeeb74f581 # Parent 052c5f335a9276ba33c3beb6a177f1f495c03e4b 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. diff -r 052c5f335a92 -r 5524649f4784 lwasm/macro.c --- 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; }