Merge pull request #4586 from shuujii/revert-4300

Revert #4300
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-07-17 22:29:35 +09:00
committed by GitHub
+1 -1
View File
@@ -5419,7 +5419,7 @@ parser_yylex(parser_state *p)
tokfix(p);
if (is_float) {
#ifdef MRB_WITHOUT_FLOAT
yywarning(p, "floating point numbers are not supported");
yywarning_s(p, "floating point numbers are not supported", tok(p));
pylval.nd = new_int(p, "0", 10, 0);
return tINTEGER;
#else