[前][次][番号順一覧][スレッド一覧]

ruby-changes:9580

From: yugui <ko1@a...>
Date: Sun, 28 Dec 2008 18:41:28 +0900 (JST)
Subject: [ruby-changes:9580] Ruby:r21119 (ruby_1_9_1): merges r21089 from trunk into ruby_1_9_1.

yugui	2008-12-28 18:40:56 +0900 (Sun, 28 Dec 2008)

  New Revision: 21119

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21119

  Log:
    merges r21089 from trunk into ruby_1_9_1.
    * ruby.c (process_options): fix to untouch th->mild_compile_error.
      [ruby-dev:37621], [ruby-dev:37620]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/ruby.c

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21118)
+++ ruby_1_9_1/ChangeLog	(revision 21119)
@@ -1,3 +1,8 @@
+Sat Dec 27 15:02:38 2008  Koichi Sasada  <ko1@a...>
+
+	* ruby.c (process_options): fix to untouch th->mild_compile_error.
+	  [ruby-dev:37621], [ruby-dev:37620]
+
 Sat Dec 27 14:48:26 2008  Koichi Sasada  <ko1@a...>
 
 	* iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.
Index: ruby_1_9_1/ruby.c
===================================================================
--- ruby_1_9_1/ruby.c	(revision 21118)
+++ ruby_1_9_1/ruby.c	(revision 21119)
@@ -1314,7 +1314,6 @@
 	GetEnvPtr(bind->env, env);
 
 	th->parse_in_eval++;
-	th->mild_compile_error++;
     }
 
     if (opt->e_script) {
@@ -1377,7 +1376,6 @@
 
     iseq = rb_iseq_new_main(tree, opt->script_name);
     th->parse_in_eval--;
-    th->mild_compile_error--;
     th->base_block = 0;
 
     if (opt->dump & DUMP_BIT(insns)) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]