changeset 84:16a72d9b6eb6

Make ifdef work correctly
author lost@l-w.ca
date Wed, 25 May 2011 21:42:01 -0600
parents 381cd2421fab
children 8fa52c3f2970
files lwasm/pseudo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/pseudo.c	Wed May 25 20:05:34 2011 -0600
+++ b/lwasm/pseudo.c	Wed May 25 21:42:01 2011 -0600
@@ -1031,6 +1031,7 @@
 		/* do nothing */ ;
 	
 	sym = lw_strndup(*p, i);
+	(*p) += i;
 	
 	s = lookup_symbol(as, l, sym);