зеркало из https://github.com/github/ruby.git
* regparse.c (fetch_token_in_cc): tok->escaped should be
initialized. [ruby-dev:27763] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
479a05bf89
Коммит
36fbf43b09
|
@ -1,3 +1,8 @@
|
|||
Sun Nov 20 21:39:27 2005 K.Kosako <sndgk393 AT ybb.ne.jp>
|
||||
|
||||
* regparse.c (fetch_token_in_cc): tok->escaped should be
|
||||
initialized. [ruby-dev:27763]
|
||||
|
||||
Sun Nov 20 22:34:06 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
|
||||
|
|
|
@ -2621,6 +2621,8 @@ fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env)
|
|||
tok->type = TK_CHAR;
|
||||
tok->base = 0;
|
||||
tok->u.c = c;
|
||||
tok->escaped = 0;
|
||||
|
||||
if (c == ']') {
|
||||
tok->type = TK_CC_CLOSE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче