diff --git a/ChangeLog b/ChangeLog index 48343fc32b..78cb791fb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,17 @@ +Thu Nov 8 12:12:10 2007 NAKAMURA Usaku + + * parse.y (parser_read_escape): remove C99/gcc-ism. + Thu Nov 8 07:54:22 UTC 2007 David Flanagan - * parse.y: patch, based on Nobu's, work to support \u escapes + + * parse.y: patch, based on Nobu's, work to support \u escapes also modifications for better coderange detection * test/ruby/test_unicode_escapes.rb: test cases * test/ruby/test_mixed_unicode_escapes.rb: mixed encoding test cases Thu Nov 8 07:14:37 UTC 2007 David Flanagan - * parse.y (rb_intern3): commented out broken code that prevented + + * parse.y (rb_intern3): commented out broken code that prevented correct interning of multi-byte symbols. Without this patch :x==:x is false when x is a multi-byte character. diff --git a/parse.y b/parse.y index dc20c59191..e4577ca15a 100644 --- a/parse.y +++ b/parse.y @@ -5162,8 +5162,8 @@ parser_read_escape(struct parser_params *parser, int flags, goto eof; } if ((c = nextc()) == '\\') { - *has8bit = 1; int tmp; + *has8bit = 1; return read_escape(flags|ESCAPE_META, &tmp, &tmp, encp) | 0x80; } else if (c == -1) goto eof; diff --git a/version.h b/version.h index d8db5dabb2..1e506718a2 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-11-07" +#define RUBY_RELEASE_DATE "2007-11-08" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20071107 +#define RUBY_RELEASE_CODE 20071108 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 11 -#define RUBY_RELEASE_DAY 7 +#define RUBY_RELEASE_DAY 8 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[];