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

* regparse.c (parse_exp): need to separate initialization for bcc32.

[ruby-dev:23169]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2004-03-08 04:40:39 +00:00
parent 9b11fc8032
commit 30c77c8e90
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Mar 8 13:35:32 2004 WATANABE Hirofumi <eban@ruby-lang.org>
* regparse.c (parse_exp): need to separate initialization for bcc32.
[ruby-dev:23169]
Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> Mon Mar 8 01:05:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander

View file

@ -4510,9 +4510,11 @@ parse_exp(Node** np, OnigToken* tok, int term,
case TK_QUOTE_OPEN: case TK_QUOTE_OPEN:
{ {
OnigCodePoint end_op[] = { (OnigCodePoint )MC_ESC, (OnigCodePoint )'E' }; OnigCodePoint end_op[2];
UChar *qstart, *qend, *nextp; UChar *qstart, *qend, *nextp;
end_op[0] = (OnigCodePoint )MC_ESC;
end_op[1] = (OnigCodePoint )'E';
qstart = *src; qstart = *src;
qend = find_str_position(end_op, 2, qstart, end, &nextp, env->enc); qend = find_str_position(end_op, 2, qstart, end, &nextp, env->enc);
if (IS_NULL(qend)) { if (IS_NULL(qend)) {