1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (parser_yylex): fixed wrong variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-07-01 22:53:51 +00:00
parent 058490ee44
commit fc5f0cafa1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jul 2 07:53:44 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_yylex): fixed wrong variable.
Thu Jul 2 05:37:38 2009 Tanaka Akira <akr@fsij.org>
* time.c (num_exact): use to_r for T_FLOAT.

View file

@ -7007,7 +7007,7 @@ parser_yylex(struct parser_params *parser)
}
else {
int c0 = nextc();
if (c == -1 || !ISDIGIT(c0)) {
if (c0 == -1 || !ISDIGIT(c0)) {
pushback(c0);
goto decode_num;
}