diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 15:20:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 15:20:20 +0000 |
commit | 9d34ea9e358ab36b5baa3e6205ff2dd0508bb8c7 (patch) | |
tree | 37b2617e7f3ac9d876b7f68ac178b48509798243 | |
parent | a9b40cad416a1e411d6014b3e1ce566f7b4b6254 (diff) | |
download | ruby-9d34ea9e358ab36b5baa3e6205ff2dd0508bb8c7.tar.gz |
parse.y: reset buffer
* parse.y (rb_parser_printf): reset debug_buffer after print out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11047,6 +11047,7 @@ rb_parser_printf(struct parser_params *parser, const char *fmt, ...) va_end(ap); if (RSTRING_END(mesg)[-1] == '\n') { rb_io_write(rb_stdout, mesg); + parser->debug_buffer = Qnil; } } #endif |