adjust white spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fc188d3827
commit
9996740309
6
re.c
6
re.c
@ -488,7 +488,7 @@ rb_reg_to_s(re)
|
||||
kcode_set_option(re);
|
||||
r = re_alloc_pattern(&rp);
|
||||
if (r == 0) {
|
||||
err = (re_compile_pattern(++ptr, len -= 2, rp, NULL) != 0);
|
||||
err = (re_compile_pattern(++ptr, len -= 2, rp, NULL) != 0);
|
||||
}
|
||||
kcode_reset_option();
|
||||
re_free_pattern(rp);
|
||||
@ -635,8 +635,8 @@ make_regexp(s, len, flags)
|
||||
|
||||
r = re_alloc_pattern(&rp);
|
||||
if (r) {
|
||||
re_error_code_to_str((UChar* )err, r);
|
||||
rb_reg_raise(s, len, err, 0);
|
||||
re_error_code_to_str((UChar* )err, r);
|
||||
rb_reg_raise(s, len, err, 0);
|
||||
}
|
||||
|
||||
if (flags) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user