mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Constified ruby_sourcefile
which usually refers ruby_sourcefile_string and is not freed directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f53bd45d6f
commit
f800c5fc8e
1 changed files with 1 additions and 1 deletions
2
parse.y
2
parse.y
|
@ -225,7 +225,7 @@ struct parser_params {
|
|||
struct local_vars *lvtbl;
|
||||
int line_count;
|
||||
int ruby_sourceline; /* current line no. */
|
||||
char *ruby_sourcefile; /* current source file */
|
||||
const char *ruby_sourcefile; /* current source file */
|
||||
VALUE ruby_sourcefile_string;
|
||||
rb_encoding *enc;
|
||||
token_info *token_info;
|
||||
|
|
Loading…
Reference in a new issue