Mercurial > hg-old > index.cgi
changeset 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 | c3a34f820893 |
children | c79b3c88adbc |
files | ChangeLog lwasm/expr.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Dec 22 05:53:25 2009 +0000 +++ b/ChangeLog Sat Dec 26 02:36:43 2009 +0000 @@ -11,6 +11,10 @@ Also, the software affected may follow in []. +Version 2.6.1 + +[b] Fixed problem with sizeof{} resolution causing segfaults [LWASM] + Version 2.6 [!] Fixed symbol resolution so all externally referenced objects, including
--- 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] == '$')