mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix indents in Onigmo files to use spaces instead of tabs (#14047) [no ci]
This commit is contained in:
parent
064e74087c
commit
18f500e347
7 changed files with 3746 additions and 3746 deletions
8
regenc.h
8
regenc.h
|
@ -192,8 +192,8 @@ ONIG_EXTERN int onigenc_unicode_apply_all_case_fold(OnigCaseFoldType flag, OnigA
|
|||
#define UTF16_IS_SURROGATE_SECOND(c) (((c) & 0xfc) == 0xdc)
|
||||
#define UTF16_IS_SURROGATE(c) (((c) & 0xf8) == 0xd8)
|
||||
#define UNICODE_VALID_CODEPOINT_P(c) ( \
|
||||
((c) <= 0x10ffff) && \
|
||||
!((c) < 0x10000 && UTF16_IS_SURROGATE((c) >> 8)))
|
||||
((c) <= 0x10ffff) && \
|
||||
!((c) < 0x10000 && UTF16_IS_SURROGATE((c) >> 8)))
|
||||
|
||||
#define ONIGENC_ISO_8859_1_TO_LOWER_CASE(c) \
|
||||
OnigEncISO_8859_1_ToLowerCaseTable[c]
|
||||
|
@ -239,8 +239,8 @@ extern int ONIG_ENC_REGISTER(const char *, OnigEncoding);
|
|||
# define OnigEncodingDefine(f,n) \
|
||||
OnigEncodingDeclare(n); \
|
||||
void Init_##f(void) { \
|
||||
ONIG_ENC_REGISTER(OnigEncodingName(n).name, \
|
||||
&OnigEncodingName(n)); \
|
||||
ONIG_ENC_REGISTER(OnigEncodingName(n).name, \
|
||||
&OnigEncodingName(n)); \
|
||||
} \
|
||||
OnigEncodingDeclare(n)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue