changeset 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 6cbc409ff09f
children
files ChangeLog configure configure.ac lwasm/expr.c
diffstat 4 files changed, 16 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Dec 22 05:53:05 2009 +0000
+++ b/ChangeLog	Sat Dec 26 02:39:31 2009 +0000
@@ -11,6 +11,10 @@
 
 Also, the software affected may follow in [].
 
+Version 2.6.1
+
+[b] Fixed segfault in sizeof{} resolution [LWASM]
+
 Version 2.6
 
 [!] Fixed symbol resolution so all externally referenced objects, including
--- a/configure	Tue Dec 22 05:53:05 2009 +0000
+++ b/configure	Sat Dec 26 02:39:31 2009 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for LWTOOLS 2.6.
+# Generated by GNU Autoconf 2.64 for LWTOOLS 2.6.1.
 #
 # Report bugs to <lost@l-w.ca>.
 #
@@ -548,8 +548,8 @@
 # Identity of this package.
 PACKAGE_NAME='LWTOOLS'
 PACKAGE_TARNAME='lwtools'
-PACKAGE_VERSION='2.6'
-PACKAGE_STRING='LWTOOLS 2.6'
+PACKAGE_VERSION='2.6.1'
+PACKAGE_STRING='LWTOOLS 2.6.1'
 PACKAGE_BUGREPORT='lost@l-w.ca'
 PACKAGE_URL=''
 
@@ -1546,7 +1546,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures LWTOOLS 2.6 to adapt to many kinds of systems.
+\`configure' configures LWTOOLS 2.6.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1616,7 +1616,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of LWTOOLS 2.6:";;
+     short | recursive ) echo "Configuration of LWTOOLS 2.6.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1703,7 +1703,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-LWTOOLS configure 2.6
+LWTOOLS configure 2.6.1
 generated by GNU Autoconf 2.64
 
 Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2345,7 +2345,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by LWTOOLS $as_me 2.6, which was
+It was created by LWTOOLS $as_me 2.6.1, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   $ $0 $@
@@ -3169,7 +3169,7 @@
 
 # Define the identity of the package.
  PACKAGE='lwtools'
- VERSION='2.6'
+ VERSION='2.6.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -10456,7 +10456,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by LWTOOLS $as_me 2.6, which was
+This file was extended by LWTOOLS $as_me 2.6.1, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -10520,7 +10520,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_version="\\
-LWTOOLS config.status 2.6
+LWTOOLS config.status 2.6.1
 configured by $0, generated by GNU Autoconf 2.64,
   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
--- a/configure.ac	Tue Dec 22 05:53:05 2009 +0000
+++ b/configure.ac	Sat Dec 26 02:39:31 2009 +0000
@@ -1,4 +1,4 @@
-AC_INIT([LWTOOLS], [2.6], [lost@l-w.ca])
+AC_INIT([LWTOOLS], [2.6.1], [lost@l-w.ca])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 AC_PROG_CC
 gl_EARLY
--- 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] == '$')