summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-01 22:53:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-01 22:53:51 +0000
commitfc5f0cafa1473547e0961bb4187752107cf5e3de (patch)
tree992f41633a996fd8ad2c58286c1d1e1083c125b8 /parse.y
parent058490ee448c96df079d8e22b0837c64c1b3835d (diff)
* parse.y (parser_yylex): fixed wrong variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23932 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 a044a93408..10322e889c 100644
--- a/parse.y
+++ b/parse.y
@@ -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;
}