summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-08 05:40:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-08 05:40:29 +0000
commited0b5771084dfed171dc52ff41802f12f9025b92 (patch)
treec77a4134845f60587eeaf832e3569ffda3846861 /parse.y
parent6acc44d2e458de7c9b8b7cd6c2cea61c80b4e687 (diff)
* eval.c (Init_Proc): make Method and UnboundMethod independent.
They are like instance and its class. [ruby-core:00941] * parse.y (yylex): disallow global variables like "$1ve". [ruby-core:00945] * marshal.c (marshal_dump): Marshal.dump(0, false) should cause an error. (ruby-bugs-ja PR#421) * regex.c (re_compile_pattern): warn if '-' is the edge of character range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index faea6c4..b37a749 100644
--- a/parse.y
+++ b/parse.y
@@ -4246,8 +4246,6 @@ yylex()
tokadd(c);
c = nextc();
} while (ISDIGIT(c));
- if (is_identchar(c))
- break;
pushback(c);
tokfix();
yylval.node = NEW_NTH_REF(atoi(tok()+1));