summaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/re.c b/re.c
index 00d283972..f2e755e01 100644
--- a/re.c
+++ b/re.c
@@ -2317,13 +2317,14 @@ kcode_setter(VALUE val)
static VALUE
ignorecase_getter(void)
{
+ rb_warn("variable $= is no longer effective");
return Qfalse;
}
static void
ignorecase_setter(VALUE val, ID id)
{
- rb_warn("modifying %s is deprecated", rb_id2name(id));
+ rb_warn("variable $= is no longer effective; ignored");
}
static VALUE