diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 15:44:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 15:44:06 +0000 |
commit | 7d7d82463df6f5b163507e2ff7eb5916866cdc88 (patch) | |
tree | 7be9c437cf2c4f4d6d05584ef3fca5e19bcab4a4 /parse.y | |
parent | 93931a0d9394fce698d2821a02ecd4305ae9195d (diff) |
* parse.y (lex_getline): should not touch ruby_debug_lines if
RIPPER is defined. [ruby-dev:24547]
* string.c (str_gsub): reentrant check. [ruby-dev:24432]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4404,9 +4404,11 @@ lex_getline(parser) struct parser_params *parser; { VALUE line = (*parser->parser_lex_gets)(parser, parser->parser_lex_input); +#ifndef RIPPER if (ruby_debug_lines && !NIL_P(line)) { rb_ary_push(ruby_debug_lines, line); } +#endif return line; } |