Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT

Otherwise it's way too easy to confuse it with US_ASCII.
This commit is contained in:
Jean Boussier 2022-07-13 11:54:08 +02:00
parent 85ea46730d
commit d084585f01
Notes: git 2022-07-19 15:49:19 +09:00
8 changed files with 28 additions and 26 deletions

View file

@ -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")