mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT
Otherwise it's way too easy to confuse it with US_ASCII.
This commit is contained in:
parent
85ea46730d
commit
d084585f01
Notes:
git
2022-07-19 15:49:19 +09:00
8 changed files with 28 additions and 26 deletions
|
@ -33,8 +33,8 @@
|
|||
# include "encindex.h"
|
||||
#endif
|
||||
|
||||
#ifndef ENCINDEX_ASCII
|
||||
# define ENCINDEX_ASCII 0
|
||||
#ifndef ENCINDEX_ASCII_8BIT
|
||||
# define ENCINDEX_ASCII_8BIT 0
|
||||
#endif
|
||||
|
||||
OnigEncodingDefine(ascii, ASCII) = {
|
||||
|
@ -55,7 +55,7 @@ OnigEncodingDefine(ascii, ASCII) = {
|
|||
onigenc_single_byte_left_adjust_char_head,
|
||||
onigenc_always_true_is_allowed_reverse_match,
|
||||
onigenc_single_byte_ascii_only_case_map,
|
||||
ENCINDEX_ASCII,
|
||||
ENCINDEX_ASCII_8BIT,
|
||||
ONIGENC_FLAG_NONE,
|
||||
};
|
||||
ENC_ALIAS("BINARY", "ASCII-8BIT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue