ruby-changes:36464
From: nobu <ko1@a...>
Date: Mon, 24 Nov 2014 02:03:16 +0900 (JST)
Subject: [ruby-changes:36464] nobu:r48545 (trunk): parse.y: replace with TOK_INTERN
nobu 2014-11-24 02:02:43 +0900 (Mon, 24 Nov 2014) New Revision: 48545 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48545 Log: parse.y: replace with TOK_INTERN * parse.y (parse_gvar): replace with equivalent macro, TOK_INTERN, as well as other places. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 48544) +++ parse.y (revision 48545) @@ -7596,7 +7596,7 @@ parse_gvar(struct parser_params *parser, https://github.com/ruby/ruby/blob/trunk/parse.y#L7596 return '$'; } gvar: - set_yylval_name(intern_cstr(tok(), tokidx, current_enc)); + set_yylval_name(TOK_INTERN()); return tGVAR; case '&': /* $&: last match */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/