mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
* include/ruby/ruby.h (rb_intern): prefix __extnsion__ for
braced-groups within expressions. * include/ruby/intern.h (rb_usascii_str_new2): ditto. * include/ruby/intern.h (rb_tainted_str_new2): ditto. * include/ruby/intern.h (rb_str_new2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c274c6fabf
commit
a739f59359
3 changed files with 15 additions and 4 deletions
|
@ -781,7 +781,7 @@ VALUE rb_id2str(ID);
|
|||
* since gcc-2.7.2.3 at least. */
|
||||
#define rb_intern(str) \
|
||||
(__builtin_constant_p(str) ? \
|
||||
(CONST_ID_CACHE(/**/, str)) : \
|
||||
__extension__ (CONST_ID_CACHE(/**/, str)) : \
|
||||
rb_intern(str))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue