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 | 677f327acf9c17fd63d333d3796985669bc588f4 (patch) | |
tree | fb1f6d45893a3ccc7ef7327220289efdec5d05a0 /parse.y | |
parent | f2fbcf2c18abc6704ce3dcf7bf15f5c32c3d8618 (diff) | |
download | ruby-677f327acf9c17fd63d333d3796985669bc588f4.tar.gz |
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)); |