ruby-changes:47205
From: nobu <ko1@a...>
Date: Thu, 13 Jul 2017 16:00:27 +0900 (JST)
Subject: [ruby-changes:47205] nobu:r59320 (trunk): parse.y: flush debug output
nobu 2017-07-13 16:00:16 +0900 (Thu, 13 Jul 2017) New Revision: 59320 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59320 Log: parse.y: flush debug output * parse.y (parser_compile_error): flush debug output before compile error message, to keep the order. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 59319) +++ parse.y (revision 59320) @@ -11057,6 +11057,7 @@ parser_compile_error(struct parser_param https://github.com/ruby/ruby/blob/trunk/parse.y#L11057 { va_list ap; + rb_io_flush(parser->debug_output); parser->error_p = 1; va_start(ap, fmt); parser->error_buffer = -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/