diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-30 13:14:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-30 13:14:31 +0000 |
commit | 028f3801f806a6aebe7d8d1fb78d0ba3e38d6036 (patch) | |
tree | fb1f6d45893a3ccc7ef7327220289efdec5d05a0 /parse.y | |
parent | 828270af133a07cdef1ebd1d4db4c8b23e31eb52 (diff) |
parse.y: get rid of ISASCII on ID
* parse.y (ripper_id2sym): do not call ISASCII() on ID, rb_isascii
is restricted to int now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11274,7 +11274,7 @@ ripper_id2sym(ID id) const char *name; char buf[8]; - if (ISASCII(id)) { + if (id == (ID)(signed char)id) { buf[0] = (char)id; buf[1] = '\0'; return ID2SYM(rb_intern2(buf, 1)); |