git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2008-07-01 09:50:30 +00:00
Родитель 1316830179
Коммит 0ef21e44e7
30 изменённых файлов: 112 добавлений и 56 удалений

Просмотреть файл

@ -21,6 +21,60 @@ Tue Jul 1 17:37:43 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* enc/utf_8.c: ditto. * enc/utf_8.c: ditto.
* enc/big5.c: ditto.
* enc/euc_jp.c: ditto.
* enc/euc_kr.c: ditto.
* enc/euc_tw.c: ditto.
* enc/gb2312.c: ditto.
* enc/gbk.c: ditto.
* enc/iso_8859_1.c: ditto.
* enc/iso_8859_2.c: ditto.
* enc/iso_8859_3.c: ditto.
* enc/iso_8859_4.c: ditto.
* enc/iso_8859_5.c: ditto.
* enc/iso_8859_6.c: ditto.
* enc/iso_8859_7.c: ditto.
* enc/iso_8859_8.c: ditto.
* enc/iso_8859_9.c: ditto.
* enc/iso_8859_10.c: ditto.
* enc/iso_8859_11.c: ditto.
* enc/iso_8859_13.c: ditto.
* enc/iso_8859_14.c: ditto.
* enc/iso_8859_15.c: ditto.
* enc/iso_8859_16.c: ditto.
* enc/koi8_r.c: ditto.
* enc/shift_jis.c: ditto.
* enc/utf_16be.c: ditto.
* enc/utf_32be.c: ditto.
* enc/utf_32le.c: ditto.
* enc/windows_1251.c: ditto.
* process.c (run_exec_rlimit): ISO C90 forbids mixed declarations * process.c (run_exec_rlimit): ISO C90 forbids mixed declarations
and code and code
@ -43,6 +97,8 @@ Tue Jul 1 17:37:43 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* ruby.c (enum disable_flag_bits): ditto. * ruby.c (enum disable_flag_bits): ditto.
* enc/gb18030.c (enum): ditto.
Tue Jul 1 17:21:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> Tue Jul 1 17:21:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* regexec.c (stack_double): use MatchStackLimitSize atomically. * regexec.c (stack_double): use MatchStackLimitSize atomically.

Просмотреть файл

@ -213,4 +213,4 @@ OnigEncodingDefine(big5, BIG5) = {
big5_left_adjust_char_head, big5_left_adjust_char_head,
big5_is_allowed_reverse_match big5_is_allowed_reverse_match
}; };
ENC_ALIAS("CP950", "BIG5"); ENC_ALIAS("CP950", "BIG5")

Просмотреть файл

@ -368,7 +368,7 @@ OnigEncodingDefine(euc_jp, EUC_JP) = {
* Link: http://www.iana.org/assignments/character-sets * Link: http://www.iana.org/assignments/character-sets
* Link: http://home.m05.itscom.net/numa/cde/sjis-euc/sjis-euc.html * Link: http://home.m05.itscom.net/numa/cde/sjis-euc/sjis-euc.html
*/ */
ENC_ALIAS("eucJP", "EUC-JP"); /* UI-OSF Application Platform Profile for Japanese Environment Version 1.1 */ ENC_ALIAS("eucJP", "EUC-JP") /* UI-OSF Application Platform Profile for Japanese Environment Version 1.1 */
/* /*
* Name: eucJP-ms * Name: eucJP-ms
@ -376,8 +376,8 @@ ENC_ALIAS("eucJP", "EUC-JP"); /* UI-OSF Application Platform Profile for Japanes
* Link: http://www2d.biglobe.ne.jp/~msyk/charcode/cp932/eucJP-ms.html * Link: http://www2d.biglobe.ne.jp/~msyk/charcode/cp932/eucJP-ms.html
* Link: http://ja.wikipedia.org/wiki/EUC-JP * Link: http://ja.wikipedia.org/wiki/EUC-JP
*/ */
ENC_REPLICATE("eucJP-ms", "EUC-JP"); /* TOG/JVC CDE/Motif Technical WG */ ENC_REPLICATE("eucJP-ms", "EUC-JP") /* TOG/JVC CDE/Motif Technical WG */
ENC_ALIAS("euc-jp-ms", "EUC-JP"); ENC_ALIAS("euc-jp-ms", "EUC-JP")
/* /*
* Name: CP51932 * Name: CP51932
@ -385,4 +385,4 @@ ENC_ALIAS("euc-jp-ms", "EUC-JP");
* Link: http://legacy-encoding.sourceforge.jp/wiki/index.php?cp51932 * Link: http://legacy-encoding.sourceforge.jp/wiki/index.php?cp51932
* Link: http://msyk.at.webry.info/200511/article_2.html * Link: http://msyk.at.webry.info/200511/article_2.html
*/ */
ENC_REPLICATE("CP51932", "EUC-JP"); ENC_REPLICATE("CP51932", "EUC-JP")

Просмотреть файл

@ -189,4 +189,4 @@ OnigEncodingDefine(euc_kr, EUC_KR) = {
euckr_left_adjust_char_head, euckr_left_adjust_char_head,
euckr_is_allowed_reverse_match euckr_is_allowed_reverse_match
}; };
ENC_ALIAS("eucKR", "EUC-KR"); ENC_ALIAS("eucKR", "EUC-KR")

Просмотреть файл

@ -231,4 +231,4 @@ OnigEncodingDefine(euc_tw, EUC_TW) = {
euctw_left_adjust_char_head, euctw_left_adjust_char_head,
euctw_is_allowed_reverse_match euctw_is_allowed_reverse_match
}; };
ENC_ALIAS("eucTW", "EUC-TW"); ENC_ALIAS("eucTW", "EUC-TW")

Просмотреть файл

@ -245,7 +245,7 @@ enum state {
S_even_CM_odd_C4CM, S_even_CM_odd_C4CM,
S_odd_CM_odd_C4CM, S_odd_CM_odd_C4CM,
S_even_CM_even_C4CM, S_even_CM_even_C4CM,
S_odd_CM_even_C4CM, S_odd_CM_even_C4CM
}; };
static UChar* static UChar*

Просмотреть файл

@ -8,6 +8,6 @@ Init_gb2312(void)
rb_enc_register("GB2312", rb_enc_find("EUC-KR")); rb_enc_register("GB2312", rb_enc_find("EUC-KR"));
} }
ENC_ALIAS("EUC-CN", "GB2312"); ENC_ALIAS("EUC-CN", "GB2312")
ENC_ALIAS("eucCN", "GB2312"); ENC_ALIAS("eucCN", "GB2312")
ENC_REPLICATE("GB12345", "GB2312"); ENC_REPLICATE("GB12345", "GB2312")

Просмотреть файл

@ -219,4 +219,4 @@ OnigEncodingDefine(gbk, GBK) = {
* Link: http://www.iana.org/assignments/charset-reg/GBK * Link: http://www.iana.org/assignments/charset-reg/GBK
* Link: http://www.microsoft.com/globaldev/reference/dbcs/936.mspx * Link: http://www.microsoft.com/globaldev/reference/dbcs/936.mspx
*/ */
ENC_ALIAS("CP936", "GBK"); ENC_ALIAS("CP936", "GBK")

Просмотреть файл

@ -272,7 +272,7 @@ OnigEncodingDefine(iso_8859_1, ISO_8859_1) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-1", "ISO-8859-1"); ENC_ALIAS("ISO8859-1", "ISO-8859-1")
/* /*
* Name: windows-1252 * Name: windows-1252
@ -281,5 +281,5 @@ ENC_ALIAS("ISO8859-1", "ISO-8859-1");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1252.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1252.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1252 * Link: http://en.wikipedia.org/wiki/Windows-1252
*/ */
ENC_REPLICATE("Windows-1252", "ISO-8859-1"); ENC_REPLICATE("Windows-1252", "ISO-8859-1")
ENC_ALIAS("CP1252", "Windows-1252"); ENC_ALIAS("CP1252", "Windows-1252")

Просмотреть файл

@ -241,4 +241,4 @@ OnigEncodingDefine(iso_8859_10, ISO_8859_10) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-10", "ISO-8859-10"); ENC_ALIAS("ISO8859-10", "ISO-8859-10")

Просмотреть файл

@ -94,18 +94,18 @@ OnigEncodingDefine(iso_8859_11, ISO_8859_11) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-11", "ISO-8859-11"); ENC_ALIAS("ISO8859-11", "ISO-8859-11")
/* /*
* Name: TIS-620 * Name: TIS-620
* MIBenum: 2259 * MIBenum: 2259
* Link: http://en.wikipedia.org/wiki/Thai_Industrial_Standard_620-2533 * Link: http://en.wikipedia.org/wiki/Thai_Industrial_Standard_620-2533
*/ */
ENC_REPLICATE("TIS-620", "ISO-8859-11"); ENC_REPLICATE("TIS-620", "ISO-8859-11")
/* /*
* Name: Windows-874 * Name: Windows-874
* Link: http://www.microsoft.com/globaldev/reference/sbcs/874.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/874.mspx
*/ */
ENC_REPLICATE("Windows-874", "ISO-8859-11"); ENC_REPLICATE("Windows-874", "ISO-8859-11")
ENC_ALIAS("CP874", "Windows-874"); ENC_ALIAS("CP874", "Windows-874")

Просмотреть файл

@ -230,7 +230,7 @@ OnigEncodingDefine(iso_8859_13, ISO_8859_13) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-13", "ISO-8859-13"); ENC_ALIAS("ISO8859-13", "ISO-8859-13")
/* /*
* Name: windows-1257 * Name: windows-1257
@ -239,5 +239,5 @@ ENC_ALIAS("ISO8859-13", "ISO-8859-13");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1257.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1257.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1257 * Link: http://en.wikipedia.org/wiki/Windows-1257
*/ */
ENC_REPLICATE("Windows-1257", "ISO-8859-13"); ENC_REPLICATE("Windows-1257", "ISO-8859-13")
ENC_ALIAS("CP1257", "Windows-1257"); ENC_ALIAS("CP1257", "Windows-1257")

Просмотреть файл

@ -243,4 +243,4 @@ OnigEncodingDefine(iso_8859_14, ISO_8859_14) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-14", "ISO-8859-14"); ENC_ALIAS("ISO8859-14", "ISO-8859-14")

Просмотреть файл

@ -237,4 +237,4 @@ OnigEncodingDefine(iso_8859_15, ISO_8859_15) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-15", "ISO-8859-15"); ENC_ALIAS("ISO8859-15", "ISO-8859-15")

Просмотреть файл

@ -239,4 +239,4 @@ OnigEncodingDefine(iso_8859_16, ISO_8859_16) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-16", "ISO-8859-16"); ENC_ALIAS("ISO8859-16", "ISO-8859-16")

Просмотреть файл

@ -237,7 +237,7 @@ OnigEncodingDefine(iso_8859_2, ISO_8859_2) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-2", "ISO-8859-2"); ENC_ALIAS("ISO8859-2", "ISO-8859-2")
/* /*
* Name: windows-1250 * Name: windows-1250
@ -246,5 +246,5 @@ ENC_ALIAS("ISO8859-2", "ISO-8859-2");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1250.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1250.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1250 * Link: http://en.wikipedia.org/wiki/Windows-1250
*/ */
ENC_REPLICATE("Windows-1250", "ISO-8859-2"); ENC_REPLICATE("Windows-1250", "ISO-8859-2")
ENC_ALIAS("CP1250", "Windows-1250"); ENC_ALIAS("CP1250", "Windows-1250")

Просмотреть файл

@ -237,4 +237,4 @@ OnigEncodingDefine(iso_8859_3, ISO_8859_3) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-3", "ISO-8859-3"); ENC_ALIAS("ISO8859-3", "ISO-8859-3")

Просмотреть файл

@ -239,4 +239,4 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_4) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-4", "ISO-8859-4"); ENC_ALIAS("ISO8859-4", "ISO-8859-4")

Просмотреть файл

@ -227,4 +227,4 @@ OnigEncodingDefine(iso_8859_5, ISO_8859_5) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-5", "ISO-8859-5"); ENC_ALIAS("ISO8859-5", "ISO-8859-5")

Просмотреть файл

@ -94,7 +94,7 @@ OnigEncodingDefine(iso_8859_6, ISO_8859_6) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-6", "ISO-8859-6"); ENC_ALIAS("ISO8859-6", "ISO-8859-6")
/* /*
* Name: windows-1256 * Name: windows-1256
@ -103,5 +103,5 @@ ENC_ALIAS("ISO8859-6", "ISO-8859-6");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1256.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1256.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1256 * Link: http://en.wikipedia.org/wiki/Windows-1256
*/ */
ENC_REPLICATE("Windows-1256", "ISO-8859-6"); ENC_REPLICATE("Windows-1256", "ISO-8859-6")
ENC_ALIAS("CP1256", "Windows-1256"); ENC_ALIAS("CP1256", "Windows-1256")

Просмотреть файл

@ -224,7 +224,7 @@ OnigEncodingDefine(iso_8859_7, ISO_8859_7) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-7", "ISO-8859-7"); ENC_ALIAS("ISO8859-7", "ISO-8859-7")
/* /*
* Name: windows-1253 * Name: windows-1253
@ -233,5 +233,5 @@ ENC_ALIAS("ISO8859-7", "ISO-8859-7");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1253.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1253.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1253 * Link: http://en.wikipedia.org/wiki/Windows-1253
*/ */
ENC_REPLICATE("Windows-1253", "ISO-8859-7"); ENC_REPLICATE("Windows-1253", "ISO-8859-7")
ENC_ALIAS("CP1253", "Windows-1253"); ENC_ALIAS("CP1253", "Windows-1253")

Просмотреть файл

@ -94,7 +94,7 @@ OnigEncodingDefine(iso_8859_8, ISO_8859_8) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-8", "ISO-8859-8"); ENC_ALIAS("ISO8859-8", "ISO-8859-8")
/* /*
* Name: windows-1255 * Name: windows-1255
@ -103,5 +103,5 @@ ENC_ALIAS("ISO8859-8", "ISO-8859-8");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1255.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1255.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1255 * Link: http://en.wikipedia.org/wiki/Windows-1255
*/ */
ENC_REPLICATE("Windows-1255", "ISO-8859-8"); ENC_REPLICATE("Windows-1255", "ISO-8859-8")
ENC_ALIAS("CP1255", "Windows-1255"); ENC_ALIAS("CP1255", "Windows-1255")

Просмотреть файл

@ -230,7 +230,7 @@ OnigEncodingDefine(iso_8859_9, ISO_8859_9) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("ISO8859-9", "ISO-8859-9"); ENC_ALIAS("ISO8859-9", "ISO-8859-9")
/* /*
* Name: windows-1254 * Name: windows-1254
@ -239,5 +239,5 @@ ENC_ALIAS("ISO8859-9", "ISO-8859-9");
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1254.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1254.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1254 * Link: http://en.wikipedia.org/wiki/Windows-1254
*/ */
ENC_REPLICATE("Windows-1254", "ISO-8859-9"); ENC_REPLICATE("Windows-1254", "ISO-8859-9")
ENC_ALIAS("CP1254", "Windows-1254"); ENC_ALIAS("CP1254", "Windows-1254")

Просмотреть файл

@ -215,5 +215,5 @@ OnigEncodingDefine(koi8_r, KOI8_R) = {
onigenc_single_byte_left_adjust_char_head, onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match onigenc_always_true_is_allowed_reverse_match
}; };
ENC_ALIAS("CP878", "KOI8-R"); ENC_ALIAS("CP878", "KOI8-R")

Просмотреть файл

@ -376,7 +376,7 @@ OnigEncodingDefine(shift_jis, Shift_JIS) = {
* Link: http://www.iana.org/assignments/character-sets * Link: http://www.iana.org/assignments/character-sets
* Link: http://ja.wikipedia.org/wiki/Shift_JIS * Link: http://ja.wikipedia.org/wiki/Shift_JIS
*/ */
ENC_ALIAS("SJIS", "Shift_JIS"); ENC_ALIAS("SJIS", "Shift_JIS")
/* /*
* Name: Windows-31J * Name: Windows-31J
@ -386,14 +386,14 @@ ENC_ALIAS("SJIS", "Shift_JIS");
* Link: http://ja.wikipedia.org/wiki/Windows-31J * Link: http://ja.wikipedia.org/wiki/Windows-31J
* Link: http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/windows-932-2000.ucm * Link: http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/windows-932-2000.ucm
*/ */
ENC_REPLICATE("Windows-31J", "Shift_JIS"); ENC_REPLICATE("Windows-31J", "Shift_JIS")
ENC_ALIAS("CP932", "Windows-31J"); ENC_ALIAS("CP932", "Windows-31J")
ENC_ALIAS("csWindows31J", "Windows-31J"); /* IANA. IE6 don't accept Windows-31J but csWindows31J. */ ENC_ALIAS("csWindows31J", "Windows-31J") /* IANA. IE6 don't accept Windows-31J but csWindows31J. */
/* /*
* Name: MacJapanese * Name: MacJapanese
* Link: http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/JAPANESE.TXT * Link: http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/JAPANESE.TXT
* Link: http://ja.wikipedia.org/wiki/MacJapanese * Link: http://ja.wikipedia.org/wiki/MacJapanese
*/ */
ENC_REPLICATE("MacJapanese", "Shift_JIS"); ENC_REPLICATE("MacJapanese", "Shift_JIS")
ENC_ALIAS("MacJapan", "MacJapanese"); ENC_ALIAS("MacJapan", "MacJapanese")

Просмотреть файл

@ -255,4 +255,4 @@ OnigEncodingDefine(utf_16be, UTF_16BE) = {
utf16be_left_adjust_char_head, utf16be_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match onigenc_always_false_is_allowed_reverse_match
}; };
ENC_ALIAS("UCS-2BE", "UTF-16BE"); ENC_ALIAS("UCS-2BE", "UTF-16BE")

Просмотреть файл

@ -191,5 +191,5 @@ OnigEncodingDefine(utf_32be, UTF_32BE) = {
utf32be_left_adjust_char_head, utf32be_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match onigenc_always_false_is_allowed_reverse_match
}; };
ENC_ALIAS("UCS-4BE", "UTF-32BE"); ENC_ALIAS("UCS-4BE", "UTF-32BE")

Просмотреть файл

@ -191,4 +191,4 @@ OnigEncodingDefine(utf_32le, UTF_32LE) = {
utf32le_left_adjust_char_head, utf32le_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match onigenc_always_false_is_allowed_reverse_match
}; };
ENC_ALIAS("UCS-4LE", "UTF-32LE"); ENC_ALIAS("UCS-4LE", "UTF-32LE")

Просмотреть файл

@ -205,4 +205,4 @@ OnigEncodingDefine(windows_1251, Windows_1251) = {
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1251.mspx * Link: http://www.microsoft.com/globaldev/reference/sbcs/1251.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1251 * Link: http://en.wikipedia.org/wiki/Windows-1251
*/ */
ENC_ALIAS("CP1251", "Windows-1251"); ENC_ALIAS("CP1251", "Windows-1251")

2
ruby.c
Просмотреть файл

@ -71,7 +71,7 @@ enum disable_flag_bits {
#define DUMP_BIT(bit) (1U << dump_##bit) #define DUMP_BIT(bit) (1U << dump_##bit)
enum dump_flag_bits { enum dump_flag_bits {
dump_insns, dump_insns
}; };
struct cmdline_options { struct cmdline_options {