ruby-changes:42365
From: nobu <ko1@a...>
Date: Wed, 30 Mar 2016 22:14:37 +0900 (JST)
Subject: [ruby-changes:42365] nobu:r54439 (trunk): parse.y: get rid of ISASCII on ID
nobu 2016-03-30 22:14:31 +0900 (Wed, 30 Mar 2016) New Revision: 54439 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54439 Log: 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. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 54438) +++ parse.y (revision 54439) @@ -11274,7 +11274,7 @@ ripper_id2sym(ID id) https://github.com/ruby/ruby/blob/trunk/parse.y#L11274 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)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/