summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-05 08:18:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-05 08:18:32 +0000
commitb35f5db57ebd756361cfa41555f1c652ec49499b (patch)
tree4bcf23bb995cd945398fe5fc5c1b5c614a39dd14
parent36992251c369a3e9ce227a1ea6476a5a8acccbe8 (diff)
* parse.y (void_expr_gen): add 'possibly' to warning message.
[ruby-core:31611] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--parse.y2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bf615e5..47449e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 5 17:11:43 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * parse.y (void_expr_gen): add 'possibly' to warning message.
+ [ruby-core:31611]
+
Thu Aug 5 16:57:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (glob_make_pattern): fold continuous PLAINs to get rid of
diff --git a/parse.y b/parse.y
index ba52135..d632282 100644
--- a/parse.y
+++ b/parse.y
@@ -8537,7 +8537,7 @@ void_expr_gen(struct parser_params *parser, NODE *node)
int line = ruby_sourceline;
ruby_sourceline = nd_line(node);
- rb_warnS("useless use of %s in void context", useless);
+ rb_warnS("possibly useless use of %s in void context", useless);
ruby_sourceline = line;
}
}