mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert #4300
Originally, it was not necessary to change. I made mistake.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user