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

ruby-changes:3984

From: ko1@a...
Date: Thu, 14 Feb 2008 23:51:24 +0900 (JST)
Subject: [ruby-changes:3984] nobu - Ruby:r15474 (trunk): * eval_error.c (error_print): append a newline to rest lines.

nobu	2008-02-14 23:51:08 +0900 (Thu, 14 Feb 2008)

  New Revision: 15474

  Modified files:
    trunk/eval_error.c

  Log:
    * eval_error.c (error_print): append a newline to rest lines.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval_error.c?r1=15474&r2=15473&diff_format=u

Index: eval_error.c
===================================================================
--- eval_error.c	(revision 15473)
+++ eval_error.c	(revision 15474)
@@ -171,6 +171,7 @@
 	    }
 	    if (tail) {
 		warn_print2(tail, elen - len - 1);
+		if (einfo[elen-1] != '\n') warn_print2("\n", 1);
 	    }
 	}
     }

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

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