diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-25 04:22:21 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-25 04:22:21 +0000 |
commit | 4a309b765e23f22cb20e9d8edebe2e922d1052c6 (patch) | |
tree | 5d69108c7b437aaeabea27dd4f50d1d9b4f40c07 /parse.y | |
parent | e59e5e90c09f6d67695a0c592a1940585c1cc72e (diff) | |
download | ruby-4a309b765e23f22cb20e9d8edebe2e922d1052c6.tar.gz |
* 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.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |