зеркало из https://github.com/github/ruby.git
Remove `enc_coderange_broken` field from `struct rb_parser_config_struct`
It has not been used since fcc55dc226
.
This commit is contained in:
Родитель
e5295644c9
Коммит
52c4d0e048
|
@ -418,7 +418,6 @@ static const rb_parser_config_t rb_global_parser_config = {
|
||||||
.enc_coderange_7bit = ENC_CODERANGE_7BIT,
|
.enc_coderange_7bit = ENC_CODERANGE_7BIT,
|
||||||
.enc_coderange_unknown = ENC_CODERANGE_UNKNOWN,
|
.enc_coderange_unknown = ENC_CODERANGE_UNKNOWN,
|
||||||
.usascii_encoding = usascii_encoding,
|
.usascii_encoding = usascii_encoding,
|
||||||
.enc_coderange_broken = ENC_CODERANGE_BROKEN,
|
|
||||||
.enc_mbminlen = enc_mbminlen,
|
.enc_mbminlen = enc_mbminlen,
|
||||||
.enc_isascii = enc_isascii,
|
.enc_isascii = enc_isascii,
|
||||||
.enc_mbc_to_codepoint = enc_mbc_to_codepoint,
|
.enc_mbc_to_codepoint = enc_mbc_to_codepoint,
|
||||||
|
|
|
@ -1247,7 +1247,6 @@ typedef struct rb_parser_config_struct {
|
||||||
rb_encoding *(*enc_from_index)(int idx);
|
rb_encoding *(*enc_from_index)(int idx);
|
||||||
int (*enc_isspace)(OnigCodePoint c, rb_encoding *enc);
|
int (*enc_isspace)(OnigCodePoint c, rb_encoding *enc);
|
||||||
rb_encoding *(*usascii_encoding)(void);
|
rb_encoding *(*usascii_encoding)(void);
|
||||||
int enc_coderange_broken;
|
|
||||||
int (*enc_mbminlen)(rb_encoding *enc);
|
int (*enc_mbminlen)(rb_encoding *enc);
|
||||||
bool (*enc_isascii)(OnigCodePoint c, rb_encoding *enc);
|
bool (*enc_isascii)(OnigCodePoint c, rb_encoding *enc);
|
||||||
OnigCodePoint (*enc_mbc_to_codepoint)(const char *p, const char *e, rb_encoding *enc);
|
OnigCodePoint (*enc_mbc_to_codepoint)(const char *p, const char *e, rb_encoding *enc);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче