ruby-changes:41018
From: nobu <ko1@a...>
Date: Mon, 14 Dec 2015 00:20:35 +0900 (JST)
Subject: [ruby-changes:41018] nobu:r53097 (trunk): parse.y: reset buffer
nobu 2015-12-14 00:20:20 +0900 (Mon, 14 Dec 2015) New Revision: 53097 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53097 Log: parse.y: reset buffer * parse.y (rb_parser_printf): reset debug_buffer after print out. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 53096) +++ parse.y (revision 53097) @@ -11047,6 +11047,7 @@ rb_parser_printf(struct parser_params *p https://github.com/ruby/ruby/blob/trunk/parse.y#L11047 va_end(ap); if (RSTRING_END(mesg)[-1] == '\n') { rb_io_write(rb_stdout, mesg); + parser->debug_buffer = Qnil; } } #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/