From be5bbaf5dc30933117ca671a9b5a795e3adad6cc Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 23 Nov 2014 17:02:43 +0000 Subject: [PATCH] parse.y: replace with TOK_INTERN * parse.y (parse_gvar): replace with equivalent macro, TOK_INTERN, as well as other places. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index b760b3e37c..00d85e0c83 100644 --- a/parse.y +++ b/parse.y @@ -7596,7 +7596,7 @@ parse_gvar(struct parser_params *parser, const enum lex_state_e last_state) return '$'; } gvar: - set_yylval_name(intern_cstr(tok(), tokidx, current_enc)); + set_yylval_name(TOK_INTERN()); return tGVAR; case '&': /* $&: last match */