From bb5772de26f0a5a128653f0367e7d13552cde51f Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 21 Jan 2018 07:44:24 +0000 Subject: [PATCH] parse.y: use enum yytokentype git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index a3d8dcc6f4..66df68a2eb 100644 --- a/parse.y +++ b/parse.y @@ -6978,7 +6978,7 @@ parse_numeric(struct parser_params *p, int c) } 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);