mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e59e5e90c0
commit
4a309b765e
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu Oct 25 13:09:01 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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]
|
||||
|
||||
Wed Oct 24 18:49:16 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/objspace/objspace.c (type2sym, count_objects_size): use enum
|
||||
|
|
1
parse.y
1
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue