diff options
author | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-29 10:17:37 +0900 |
---|---|---|
committer | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-06-29 10:17:37 +0900 |
commit | a88107c44dd08b02ed1c1b5951882b070a1eab93 (patch) | |
tree | f38e60d2a85099bc6304e8a96132559fe0f83dce | |
parent | 2f6cc15cdb3d64135b29cfd5ee376a5a03ebbee7 (diff) | |
download | ruby-a88107c44dd08b02ed1c1b5951882b070a1eab93.tar.gz |
* expand tabs.
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8593,7 +8593,7 @@ get_reg_grapheme_cluster(rb_encoding *enc) reg_grapheme_cluster = reg_grapheme_cluster_utf8; } if (!reg_grapheme_cluster) { - const OnigUChar source_ascii[] = "\\X"; + const OnigUChar source_ascii[] = "\\X"; OnigErrorInfo einfo; const OnigUChar *source = source_ascii; size_t source_len = sizeof(source_ascii) - 1; @@ -8616,7 +8616,7 @@ get_reg_grapheme_cluster(rb_encoding *enc) #undef CHARS_32BE #undef CHARS_32LE } - int r = onig_new(®_grapheme_cluster, source, source + source_len, + int r = onig_new(®_grapheme_cluster, source, source + source_len, ONIG_OPTION_DEFAULT, enc, OnigDefaultSyntax, &einfo); if (r) { UChar message[ONIG_MAX_ERROR_MESSAGE_LEN]; |