summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-07-17 22:29:35 +0900
committerGitHub <[email protected]>2019-07-17 22:29:35 +0900
commit7172231b8f829975b8907da25726e990e4a411ab (patch)
treea0700307ec2c219b1d0809159ccd4dc92dcbb4d7
parent47ac318920407aa6ebfb264108a4629c323897ea (diff)
parente38ba3d58c4fc5edd9e04f0f32dfd1afe0e85a64 (diff)
downloadmruby-7172231b8f829975b8907da25726e990e4a411ab.tar.gz
mruby-7172231b8f829975b8907da25726e990e4a411ab.zip
Merge pull request #4586 from shuujii/revert-4300
Revert #4300
-rw-r--r--mrbgems/mruby-compiler/core/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index ac59a8b0b..b7a7d315d 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -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