summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-13 09:11:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-13 09:11:11 +0000
commit937092b8203c373c919a6f307f91e17d4bec5bb1 (patch)
tree07a130b71a37018a9ffaf3f970f42d4348db3a78 /parse.y
parent050f2d84603bd9b3761f1e498f81ce74719caeea (diff)
* range.c (range_step): step might be float 0 < x < 1.
* eval.c (rb_thread_schedule): pause if no runnable thread when there's only one thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index c7423f564c..0c04a40bea 100644
--- a/parse.y
+++ b/parse.y
@@ -3664,7 +3664,7 @@ yylex()
}
pushback(c);
if (ISDIGIT(c)) {
- rb_warning("no .<digit> floating literal anymore; put 0 before dot");
+ rb_warn("no .<digit> floating literal anymore; put 0 before dot");
}
lex_state = EXPR_DOT;
return '.';