Merge pull request #4300 from shuujii/use-yywarning-instead-of-yywarning_s-for-MRB_WITHOUT_FLOAT

Use `yywarning()` instead of `yywarning_s()` for `MRB_WITHOUT_FLOAT`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-02-27 22:32:31 +09:00
committed by GitHub
+1 -1
View File
@@ -5167,7 +5167,7 @@ parser_yylex(parser_state *p)
tokfix(p);
if (is_float) {
#ifdef MRB_WITHOUT_FLOAT
yywarning_s(p, "floating point numbers are not supported", tok(p));
yywarning(p, "floating point numbers are not supported");
pylval.nd = new_int(p, "0", 10);
return tINTEGER;
#else