summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 04:22:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 04:22:21 +0000
commit4a309b765e23f22cb20e9d8edebe2e922d1052c6 (patch)
tree5d69108c7b437aaeabea27dd4f50d1d9b4f40c07 /parse.y
parente59e5e90c09f6d67695a0c592a1940585c1cc72e (diff)
* parse.y: show a warning for concatenating string literals because
it will be deprecated in the future. patched by mame (Yusuke Endoh) at [ruby-core:44207]. [ruby-core:44156] [Feature #6265] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 7eaab6b1b8..7bf3149e2b 100644
--- a/parse.y
+++ b/parse.y
@@ -3810,6 +3810,7 @@ string : tCHAR
| string string1
{
/*%%%*/
+ rb_warning0("string concatenation syntax will be deprecated");
$$ = literal_concat($1, $2);
/*%
$$ = dispatch2(string_concat, $1, $2);