Mercurial > hg-old > index.cgi
diff lwasm/expr.c @ 260:1bdb4e256fc9 2.x 2.6.1
Fixed segfault on reference to sizeof{}
author | lost |
---|---|
date | Sat, 26 Dec 2009 02:36:43 +0000 |
parents | c8787fad0f9f |
children |
line wrap: on
line diff
--- a/lwasm/expr.c Tue Dec 22 05:53:25 2009 +0000 +++ b/lwasm/expr.c Sat Dec 26 02:36:43 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] == '$')