mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: flush debug output
* parse.y (parser_compile_error): flush debug output before compile error message, to keep the order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d15cc7a6a3
commit
52e8254b54
1 changed files with 1 additions and 0 deletions
1
parse.y
1
parse.y
|
@ -11057,6 +11057,7 @@ parser_compile_error(struct parser_params *parser, const char *fmt, ...)
|
|||
{
|
||||
va_list ap;
|
||||
|
||||
rb_io_flush(parser->debug_output);
|
||||
parser->error_p = 1;
|
||||
va_start(ap, fmt);
|
||||
parser->error_buffer =
|
||||
|
|
Loading…
Reference in a new issue