diff lwasm/expr.c @ 270:6e940229360b 2.6 2.6.1-fixed

Fixed segault in resolution of sizeof{}
author lost
date Sat, 26 Dec 2009 02:39:31 +0000
parents c8787fad0f9f
children
line wrap: on
line diff
--- a/lwasm/expr.c	Tue Dec 22 05:53:05 2009 +0000
+++ b/lwasm/expr.c	Sat Dec 26 02:39:31 2009 +0000
@@ -434,7 +434,7 @@
 		int havedol = 0;
 		
 		// evaluate a symbol here
-		static const char *symchars = "_.$@?abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+		static const char *symchars = "_.$@?abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789{}";
 		while ((*p)[l] && strchr(symchars, (*p)[l]))
 		{
 			if ((*p)[l] == '$')