diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-02 23:16:02 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-02 23:17:19 +0900 |
commit | e9e17cbc051e894dfd27eda5feca2939f65552db (patch) | |
tree | 651d106f09249976c57769da96e237da8a1856e6 | |
parent | 247b06d40095e3dfe16b94ea88976e39e83e2463 (diff) | |
download | ruby-e9e17cbc051e894dfd27eda5feca2939f65552db.tar.gz |
parse.y: make a warning for __FILE__ in eval by default
[Bug #4352]
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9741,7 +9741,7 @@ past_dvar_p(struct parser_params *p, ID id) #define WARN_LOCATION(type) do { \ if (p->warn_location) { \ - rb_warning0(type" in eval may not return location in binding;" \ + rb_warn0(type" in eval may not return location in binding;" \ " use Binding#source_location instead"); \ } \ } while (0) |