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

ruby-changes:9549

From: ko1 <ko1@a...>
Date: Sat, 27 Dec 2008 15:06:00 +0900 (JST)
Subject: [ruby-changes:9549] Ruby:r21089 (trunk): * ruby.c (process_options): fix to untouch th->mild_compile_error.

ko1	2008-12-27 15:05:41 +0900 (Sat, 27 Dec 2008)

  New Revision: 21089

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

  Log:
    * ruby.c (process_options): fix to untouch th->mild_compile_error.
      [ruby-dev:37621], [ruby-dev:37620]

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21088)
+++ ChangeLog	(revision 21089)
@@ -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.c
===================================================================
--- ruby.c	(revision 21088)
+++ ruby.c	(revision 21089)
@@ -1338,7 +1338,6 @@
 	GetEnvPtr(bind->env, env);
 
 	th->parse_in_eval++;
-	th->mild_compile_error++;
     }
 
     if (opt->e_script) {
@@ -1402,7 +1401,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/

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