changeset 162:02ada556bcc0

Fixed stupid error with for loop
author lost
date Sat, 31 Jan 2009 07:03:09 +0000
parents 56d60169fc4d
children 2e6a1e914104
files lwasm/pseudo.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/pseudo.c	Sat Jan 31 06:33:42 2009 +0000
+++ b/lwasm/pseudo.c	Sat Jan 31 07:03:09 2009 +0000
@@ -1055,7 +1055,7 @@
 		if (**p)
 		{
 			for (sym2 = *p; **p && !isspace(**p); (*p)++)
-				/* do nothing */
+				/* do nothing */ ;
 			sym3 = lwasm_alloc(*p - sym2 + 1);
 			memcpy(sym3, sym2, *p - sym2);
 			sym3[*p - sym2] = '\0';
@@ -1063,7 +1063,6 @@
 			l -> sym = sym3;
 		}
 	}
-
 	if (!(l -> sym))
 	{
 		register_error(as, l, 2, "No symbol");