ruby-changes:49880
From: nobu <ko1@a...>
Date: Sun, 21 Jan 2018 16:44:29 +0900 (JST)
Subject: [ruby-changes:49880] nobu:r61998 (trunk): parse.y: use enum yytokentype
nobu 2018-01-21 16:44:24 +0900 (Sun, 21 Jan 2018) New Revision: 61998 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61998 Log: parse.y: use enum yytokentype Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61997) +++ parse.y (revision 61998) @@ -6978,7 +6978,7 @@ parse_numeric(struct parser_params *p, i https://github.com/ruby/ruby/blob/trunk/parse.y#L6978 } tokfix(); if (is_float) { - int type = tFLOAT; + enum yytokentype type = tFLOAT; VALUE v; suffix = number_literal_suffix(seen_e ? NUM_SUFFIX_I : NUM_SUFFIX_ALL); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/