mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge Onigmo 6.0.0
* https://github.com/k-takata/Onigmo/blob/Onigmo-6.0.0/HISTORY * fix for ruby 2.4: https://github.com/k-takata/Onigmo/pull/78 * suppress warning: https://github.com/k-takata/Onigmo/pull/79 * include/ruby/oniguruma.h: include onigmo.h. * template/encdb.h.tmpl: ignore duplicated definition of EUC-CN in enc/euc_kr.c. It is defined in enc/gb2313.c with CRuby macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
42a677c895
commit
2873edeafb
57 changed files with 3098 additions and 3173 deletions
|
@ -29,9 +29,12 @@
|
|||
*/
|
||||
|
||||
#include "regenc.h"
|
||||
#include "encindex.h"
|
||||
#ifdef RUBY
|
||||
# include "encindex.h"
|
||||
#endif
|
||||
|
||||
#ifndef ENCINDEX_ASCII
|
||||
#define ENCINDEX_ASCII 0
|
||||
# define ENCINDEX_ASCII 0
|
||||
#endif
|
||||
|
||||
OnigEncodingDefine(ascii, ASCII) = {
|
||||
|
@ -51,9 +54,9 @@ OnigEncodingDefine(ascii, ASCII) = {
|
|||
onigenc_not_support_get_ctype_code_range,
|
||||
onigenc_single_byte_left_adjust_char_head,
|
||||
onigenc_always_true_is_allowed_reverse_match,
|
||||
onigenc_single_byte_ascii_only_case_map,
|
||||
ENCINDEX_ASCII,
|
||||
ONIGENC_FLAG_NONE,
|
||||
onigenc_single_byte_ascii_only_case_map,
|
||||
};
|
||||
ENC_ALIAS("BINARY", "ASCII-8BIT")
|
||||
ENC_REPLICATE("IBM437", "ASCII-8BIT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue