зеркало из https://github.com/github/ruby.git
* parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f4592d7bb0
Коммит
6e12ae857e
|
@ -1,3 +1,7 @@
|
|||
Mon Dec 10 07:48:14 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
|
||||
|
||||
Mon Dec 10 06:44:47 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* re.c (rb_reg_expr_str): use \xHH instead of \OOO.
|
||||
|
|
|
@ -169,9 +169,9 @@ assert_equal %q{11}, %q{
|
|||
Thread.current[:a]
|
||||
}.value + Thread.current[:a]
|
||||
}
|
||||
assert_equal %q{1000}, %q{
|
||||
assert_equal %q{100}, %q{
|
||||
begin
|
||||
1000.times do |i|
|
||||
100.times do |i|
|
||||
begin
|
||||
Thread.start(Thread.current) {|u| u.raise }
|
||||
raise
|
||||
|
@ -180,6 +180,6 @@ begin
|
|||
end
|
||||
end
|
||||
rescue
|
||||
1000
|
||||
100
|
||||
end
|
||||
}, '[ruby-dev:31371]'
|
||||
|
|
4
parse.y
4
parse.y
|
@ -6087,8 +6087,8 @@ parser_yylex(struct parser_params *parser)
|
|||
c = nextc();
|
||||
if (lex_state == EXPR_FNAME || lex_state == EXPR_DOT) {
|
||||
lex_state = EXPR_ARG;
|
||||
if (c != '@') {
|
||||
pushback(c);
|
||||
if (c == '@') {
|
||||
return '!';
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче