summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-21 07:44:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-21 07:44:24 +0000
commitbb5772de26f0a5a128653f0367e7d13552cde51f (patch)
tree3469941f4734fd62ad96aed296c3bfa237b776c0 /parse.y
parent46e2fad66aba0173438bd6f5ef9c62df625060ee (diff)
parse.y: use enum yytokentype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
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);