diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-24 23:55:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-25 00:14:31 +0900 |
commit | fe82f72951cb5c558c8a2953392c321137500a4f (patch) | |
tree | b1b62a65c4cd8c08c7582da1562ba22531f332d2 | |
parent | 263b941321c3de6afc8f9dafbc2625f866b7437e (diff) |
AST.of needs SCRIPT_LINES__ filled with a newline
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6105,7 +6105,7 @@ yycompile0(VALUE arg) if (!compile_for_eval && !NIL_P(p->ruby_sourcefile_string)) { p->debug_lines = debug_lines(p->ruby_sourcefile_string); if (p->debug_lines && p->ruby_sourceline > 0) { - VALUE str = STR_NEW0(); + VALUE str = rb_default_rs; n = p->ruby_sourceline; do { rb_ary_push(p->debug_lines, str); |