Unverified Commit 7172231b authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4586 from shuujii/revert-4300

Revert #4300
parents 47ac3189 e38ba3d5
...@@ -5419,7 +5419,7 @@ parser_yylex(parser_state *p) ...@@ -5419,7 +5419,7 @@ parser_yylex(parser_state *p)
tokfix(p); tokfix(p);
if (is_float) { if (is_float) {
#ifdef MRB_WITHOUT_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); pylval.nd = new_int(p, "0", 10, 0);
return tINTEGER; return tINTEGER;
#else #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