changeset 145:d6e9cc4484f6

Fixed ENDC to work with comments after it
author lost@l-w.ca
date Wed, 24 Aug 2011 21:16:07 -0600
parents 86d097dceebc
children f5b8559a5f35
files lwasm/pseudo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/pseudo.c	Sat Aug 20 09:59:45 2011 -0600
+++ b/lwasm/pseudo.c	Wed Aug 24 21:16:07 2011 -0600
@@ -1097,6 +1097,7 @@
 PARSEFUNC(pseudo_parse_endc)
 {
 	l -> len = 0;
+	skip_operand(p);
 	if (as -> skipcond && !(as -> skipmacro))
 	{
 		as -> skipcount--;