aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-08 03:14:16 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-08 03:14:16 +0000
commit219d2315afc0fbb393ed759fd48005c92d32b32d (patch)
treeb285e45b8e910fc06d678502934ddaf817125c29
parentbaae1c407513a625db5544eb8c8ee6458398c790 (diff)
downloadruby-219d2315afc0fbb393ed759fd48005c92d32b32d.tar.gz
* parse.y (parser_read_escape): remove C99/gcc-ism.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog10
-rw-r--r--parse.y2
-rw-r--r--version.h6
3 files changed, 12 insertions, 6 deletions
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 <usa@ruby-lang.org>
+
+ * parse.y (parser_read_escape): remove C99/gcc-ism.
+
Thu Nov 8 07:54:22 UTC 2007 David Flanagan <davidflanagan@ruby-lang.org>
- * 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 <davidflanagan@ruby-lang.org>
- * 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[];