Unverified Commit 759b57d2 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

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`
parents 018f4bd3 28946250
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment