summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-08-02 23:16:02 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-08-02 23:17:19 +0900
commite9e17cbc051e894dfd27eda5feca2939f65552db (patch)
tree651d106f09249976c57769da96e237da8a1856e6
parent247b06d40095e3dfe16b94ea88976e39e83e2463 (diff)
parse.y: make a warning for __FILE__ in eval by default
[Bug #4352]
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 2008fc6114..447c7d3463 100644
--- a/parse.y
+++ b/parse.y
@@ -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)