diff lwasm/lwasm.c @ 391:c1d83336e1d1

Fixed problem with structure member registration and fixed detection of operator{} type symbols in expression evaluation
author lost@l-w.ca
date Wed, 21 Jul 2010 21:26:43 -0600
parents a741d2e4869f
children a2f52e97b454
line wrap: on
line diff
--- a/lwasm/lwasm.c	Wed Jul 14 22:46:56 2010 -0600
+++ b/lwasm/lwasm.c	Wed Jul 21 21:26:43 2010 -0600
@@ -415,6 +415,13 @@
 		}
 		if (l == 0)
 			return NULL;
+
+		if ((*p)[l] == '{')
+		{
+			while ((*p)[l] && (*p)[l] != '}')
+				l++;
+			l++;
+		}
 		
 		if (havedol || **p < '0' || **p > '9')
 		{