summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
Diffstat (limited to 'enc')
-rw-r--r--enc/big5.c2
-rw-r--r--enc/euc_jp.c8
-rw-r--r--enc/euc_kr.c2
-rw-r--r--enc/euc_tw.c2
-rw-r--r--enc/gb18030.c2
-rw-r--r--enc/gb2312.c6
-rw-r--r--enc/gbk.c2
-rw-r--r--enc/iso_8859_1.c6
-rw-r--r--enc/iso_8859_10.c2
-rw-r--r--enc/iso_8859_11.c8
-rw-r--r--enc/iso_8859_13.c6
-rw-r--r--enc/iso_8859_14.c2
-rw-r--r--enc/iso_8859_15.c2
-rw-r--r--enc/iso_8859_16.c2
-rw-r--r--enc/iso_8859_2.c6
-rw-r--r--enc/iso_8859_3.c2
-rw-r--r--enc/iso_8859_4.c2
-rw-r--r--enc/iso_8859_5.c2
-rw-r--r--enc/iso_8859_6.c6
-rw-r--r--enc/iso_8859_7.c6
-rw-r--r--enc/iso_8859_8.c6
-rw-r--r--enc/iso_8859_9.c6
-rw-r--r--enc/koi8_r.c2
-rw-r--r--enc/shift_jis.c12
-rw-r--r--enc/utf_16be.c2
-rw-r--r--enc/utf_32be.c2
-rw-r--r--enc/utf_32le.c2
-rw-r--r--enc/windows_1251.c2
28 files changed, 55 insertions, 55 deletions
diff --git a/enc/big5.c b/enc/big5.c
index 442f9b5..70a316e 100644
--- a/enc/big5.c
+++ b/enc/big5.c
@@ -213,4 +213,4 @@ OnigEncodingDefine(big5, BIG5) = {
big5_left_adjust_char_head,
big5_is_allowed_reverse_match
};
-ENC_ALIAS("CP950", "BIG5");
+ENC_ALIAS("CP950", "BIG5")
diff --git a/enc/euc_jp.c b/enc/euc_jp.c
index 6bb4b83..ea07366 100644
--- a/enc/euc_jp.c
+++ b/enc/euc_jp.c
@@ -368,7 +368,7 @@ OnigEncodingDefine(euc_jp, EUC_JP) = {
* Link: http://www.iana.org/assignments/character-sets
* 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
@@ -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://ja.wikipedia.org/wiki/EUC-JP
*/
-ENC_REPLICATE("eucJP-ms", "EUC-JP"); /* TOG/JVC CDE/Motif Technical WG */
-ENC_ALIAS("euc-jp-ms", "EUC-JP");
+ENC_REPLICATE("eucJP-ms", "EUC-JP") /* TOG/JVC CDE/Motif Technical WG */
+ENC_ALIAS("euc-jp-ms", "EUC-JP")
/*
* 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://msyk.at.webry.info/200511/article_2.html
*/
-ENC_REPLICATE("CP51932", "EUC-JP");
+ENC_REPLICATE("CP51932", "EUC-JP")
diff --git a/enc/euc_kr.c b/enc/euc_kr.c
index 7f8b645..1b5ec89 100644
--- a/enc/euc_kr.c
+++ b/enc/euc_kr.c
@@ -189,4 +189,4 @@ OnigEncodingDefine(euc_kr, EUC_KR) = {
euckr_left_adjust_char_head,
euckr_is_allowed_reverse_match
};
-ENC_ALIAS("eucKR", "EUC-KR");
+ENC_ALIAS("eucKR", "EUC-KR")
diff --git a/enc/euc_tw.c b/enc/euc_tw.c
index 47991c4..ca38983 100644
--- a/enc/euc_tw.c
+++ b/enc/euc_tw.c
@@ -231,4 +231,4 @@ OnigEncodingDefine(euc_tw, EUC_TW) = {
euctw_left_adjust_char_head,
euctw_is_allowed_reverse_match
};
-ENC_ALIAS("eucTW", "EUC-TW");
+ENC_ALIAS("eucTW", "EUC-TW")
diff --git a/enc/gb18030.c b/enc/gb18030.c
index d58abf8..804f3cd 100644
--- a/enc/gb18030.c
+++ b/enc/gb18030.c
@@ -245,7 +245,7 @@ enum state {
S_even_CM_odd_C4CM,
S_odd_CM_odd_C4CM,
S_even_CM_even_C4CM,
- S_odd_CM_even_C4CM,
+ S_odd_CM_even_C4CM
};
static UChar*
diff --git a/enc/gb2312.c b/enc/gb2312.c
index be20fd8..6fc1573 100644
--- a/enc/gb2312.c
+++ b/enc/gb2312.c
@@ -8,6 +8,6 @@ Init_gb2312(void)
rb_enc_register("GB2312", rb_enc_find("EUC-KR"));
}
-ENC_ALIAS("EUC-CN", "GB2312");
-ENC_ALIAS("eucCN", "GB2312");
-ENC_REPLICATE("GB12345", "GB2312");
+ENC_ALIAS("EUC-CN", "GB2312")
+ENC_ALIAS("eucCN", "GB2312")
+ENC_REPLICATE("GB12345", "GB2312")
diff --git a/enc/gbk.c b/enc/gbk.c
index 25f4209..8b45ed4 100644
--- a/enc/gbk.c
+++ b/enc/gbk.c
@@ -219,4 +219,4 @@ OnigEncodingDefine(gbk, GBK) = {
* Link: http://www.iana.org/assignments/charset-reg/GBK
* Link: http://www.microsoft.com/globaldev/reference/dbcs/936.mspx
*/
-ENC_ALIAS("CP936", "GBK");
+ENC_ALIAS("CP936", "GBK")
diff --git a/enc/iso_8859_1.c b/enc/iso_8859_1.c
index efe0531..b73f8ca 100644
--- a/enc/iso_8859_1.c
+++ b/enc/iso_8859_1.c
@@ -272,7 +272,7 @@ OnigEncodingDefine(iso_8859_1, ISO_8859_1) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-1", "ISO-8859-1");
+ENC_ALIAS("ISO8859-1", "ISO-8859-1")
/*
* 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://en.wikipedia.org/wiki/Windows-1252
*/
-ENC_REPLICATE("Windows-1252", "ISO-8859-1");
-ENC_ALIAS("CP1252", "Windows-1252");
+ENC_REPLICATE("Windows-1252", "ISO-8859-1")
+ENC_ALIAS("CP1252", "Windows-1252")
diff --git a/enc/iso_8859_10.c b/enc/iso_8859_10.c
index 2089a92..1643278 100644
--- a/enc/iso_8859_10.c
+++ b/enc/iso_8859_10.c
@@ -241,4 +241,4 @@ OnigEncodingDefine(iso_8859_10, ISO_8859_10) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-10", "ISO-8859-10");
+ENC_ALIAS("ISO8859-10", "ISO-8859-10")
diff --git a/enc/iso_8859_11.c b/enc/iso_8859_11.c
index eca0b69..257d9d8 100644
--- a/enc/iso_8859_11.c
+++ b/enc/iso_8859_11.c
@@ -94,18 +94,18 @@ OnigEncodingDefine(iso_8859_11, ISO_8859_11) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-11", "ISO-8859-11");
+ENC_ALIAS("ISO8859-11", "ISO-8859-11")
/*
* Name: TIS-620
* MIBenum: 2259
* 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
* Link: http://www.microsoft.com/globaldev/reference/sbcs/874.mspx
*/
-ENC_REPLICATE("Windows-874", "ISO-8859-11");
-ENC_ALIAS("CP874", "Windows-874");
+ENC_REPLICATE("Windows-874", "ISO-8859-11")
+ENC_ALIAS("CP874", "Windows-874")
diff --git a/enc/iso_8859_13.c b/enc/iso_8859_13.c
index 9c9d684..f29cb2e 100644
--- a/enc/iso_8859_13.c
+++ b/enc/iso_8859_13.c
@@ -230,7 +230,7 @@ OnigEncodingDefine(iso_8859_13, ISO_8859_13) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-13", "ISO-8859-13");
+ENC_ALIAS("ISO8859-13", "ISO-8859-13")
/*
* 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://en.wikipedia.org/wiki/Windows-1257
*/
-ENC_REPLICATE("Windows-1257", "ISO-8859-13");
-ENC_ALIAS("CP1257", "Windows-1257");
+ENC_REPLICATE("Windows-1257", "ISO-8859-13")
+ENC_ALIAS("CP1257", "Windows-1257")
diff --git a/enc/iso_8859_14.c b/enc/iso_8859_14.c
index d508848..be83f93 100644
--- a/enc/iso_8859_14.c
+++ b/enc/iso_8859_14.c
@@ -243,4 +243,4 @@ OnigEncodingDefine(iso_8859_14, ISO_8859_14) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-14", "ISO-8859-14");
+ENC_ALIAS("ISO8859-14", "ISO-8859-14")
diff --git a/enc/iso_8859_15.c b/enc/iso_8859_15.c
index f7c5bbe..2ec41b6 100644
--- a/enc/iso_8859_15.c
+++ b/enc/iso_8859_15.c
@@ -237,4 +237,4 @@ OnigEncodingDefine(iso_8859_15, ISO_8859_15) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-15", "ISO-8859-15");
+ENC_ALIAS("ISO8859-15", "ISO-8859-15")
diff --git a/enc/iso_8859_16.c b/enc/iso_8859_16.c
index 61e9c28..3ddc1d9 100644
--- a/enc/iso_8859_16.c
+++ b/enc/iso_8859_16.c
@@ -239,4 +239,4 @@ OnigEncodingDefine(iso_8859_16, ISO_8859_16) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-16", "ISO-8859-16");
+ENC_ALIAS("ISO8859-16", "ISO-8859-16")
diff --git a/enc/iso_8859_2.c b/enc/iso_8859_2.c
index 1feb44b..9783f1c 100644
--- a/enc/iso_8859_2.c
+++ b/enc/iso_8859_2.c
@@ -237,7 +237,7 @@ OnigEncodingDefine(iso_8859_2, ISO_8859_2) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-2", "ISO-8859-2");
+ENC_ALIAS("ISO8859-2", "ISO-8859-2")
/*
* 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://en.wikipedia.org/wiki/Windows-1250
*/
-ENC_REPLICATE("Windows-1250", "ISO-8859-2");
-ENC_ALIAS("CP1250", "Windows-1250");
+ENC_REPLICATE("Windows-1250", "ISO-8859-2")
+ENC_ALIAS("CP1250", "Windows-1250")
diff --git a/enc/iso_8859_3.c b/enc/iso_8859_3.c
index f484061..81c0c74 100644
--- a/enc/iso_8859_3.c
+++ b/enc/iso_8859_3.c
@@ -237,4 +237,4 @@ OnigEncodingDefine(iso_8859_3, ISO_8859_3) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-3", "ISO-8859-3");
+ENC_ALIAS("ISO8859-3", "ISO-8859-3")
diff --git a/enc/iso_8859_4.c b/enc/iso_8859_4.c
index 9c034b0..ec71c4b 100644
--- a/enc/iso_8859_4.c
+++ b/enc/iso_8859_4.c
@@ -239,4 +239,4 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_4) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-4", "ISO-8859-4");
+ENC_ALIAS("ISO8859-4", "ISO-8859-4")
diff --git a/enc/iso_8859_5.c b/enc/iso_8859_5.c
index 9f83cd8..1550763 100644
--- a/enc/iso_8859_5.c
+++ b/enc/iso_8859_5.c
@@ -227,4 +227,4 @@ OnigEncodingDefine(iso_8859_5, ISO_8859_5) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-5", "ISO-8859-5");
+ENC_ALIAS("ISO8859-5", "ISO-8859-5")
diff --git a/enc/iso_8859_6.c b/enc/iso_8859_6.c
index 2b04321..7384061 100644
--- a/enc/iso_8859_6.c
+++ b/enc/iso_8859_6.c
@@ -94,7 +94,7 @@ OnigEncodingDefine(iso_8859_6, ISO_8859_6) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-6", "ISO-8859-6");
+ENC_ALIAS("ISO8859-6", "ISO-8859-6")
/*
* 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://en.wikipedia.org/wiki/Windows-1256
*/
-ENC_REPLICATE("Windows-1256", "ISO-8859-6");
-ENC_ALIAS("CP1256", "Windows-1256");
+ENC_REPLICATE("Windows-1256", "ISO-8859-6")
+ENC_ALIAS("CP1256", "Windows-1256")
diff --git a/enc/iso_8859_7.c b/enc/iso_8859_7.c
index cd1e77a..2f91617 100644
--- a/enc/iso_8859_7.c
+++ b/enc/iso_8859_7.c
@@ -224,7 +224,7 @@ OnigEncodingDefine(iso_8859_7, ISO_8859_7) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-7", "ISO-8859-7");
+ENC_ALIAS("ISO8859-7", "ISO-8859-7")
/*
* 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://en.wikipedia.org/wiki/Windows-1253
*/
-ENC_REPLICATE("Windows-1253", "ISO-8859-7");
-ENC_ALIAS("CP1253", "Windows-1253");
+ENC_REPLICATE("Windows-1253", "ISO-8859-7")
+ENC_ALIAS("CP1253", "Windows-1253")
diff --git a/enc/iso_8859_8.c b/enc/iso_8859_8.c
index 52873e7..bd0754c 100644
--- a/enc/iso_8859_8.c
+++ b/enc/iso_8859_8.c
@@ -94,7 +94,7 @@ OnigEncodingDefine(iso_8859_8, ISO_8859_8) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-8", "ISO-8859-8");
+ENC_ALIAS("ISO8859-8", "ISO-8859-8")
/*
* 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://en.wikipedia.org/wiki/Windows-1255
*/
-ENC_REPLICATE("Windows-1255", "ISO-8859-8");
-ENC_ALIAS("CP1255", "Windows-1255");
+ENC_REPLICATE("Windows-1255", "ISO-8859-8")
+ENC_ALIAS("CP1255", "Windows-1255")
diff --git a/enc/iso_8859_9.c b/enc/iso_8859_9.c
index 17b7f64..4d46e74 100644
--- a/enc/iso_8859_9.c
+++ b/enc/iso_8859_9.c
@@ -230,7 +230,7 @@ OnigEncodingDefine(iso_8859_9, ISO_8859_9) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ISO8859-9", "ISO-8859-9");
+ENC_ALIAS("ISO8859-9", "ISO-8859-9")
/*
* 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://en.wikipedia.org/wiki/Windows-1254
*/
-ENC_REPLICATE("Windows-1254", "ISO-8859-9");
-ENC_ALIAS("CP1254", "Windows-1254");
+ENC_REPLICATE("Windows-1254", "ISO-8859-9")
+ENC_ALIAS("CP1254", "Windows-1254")
diff --git a/enc/koi8_r.c b/enc/koi8_r.c
index 93e5e70..fb6e10e 100644
--- a/enc/koi8_r.c
+++ b/enc/koi8_r.c
@@ -215,5 +215,5 @@ OnigEncodingDefine(koi8_r, KOI8_R) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("CP878", "KOI8-R");
+ENC_ALIAS("CP878", "KOI8-R")
diff --git a/enc/shift_jis.c b/enc/shift_jis.c
index d5d631e..087e7f7 100644
--- a/enc/shift_jis.c
+++ b/enc/shift_jis.c
@@ -376,7 +376,7 @@ OnigEncodingDefine(shift_jis, Shift_JIS) = {
* Link: http://www.iana.org/assignments/character-sets
* Link: http://ja.wikipedia.org/wiki/Shift_JIS
*/
-ENC_ALIAS("SJIS", "Shift_JIS");
+ENC_ALIAS("SJIS", "Shift_JIS")
/*
* Name: Windows-31J
@@ -386,14 +386,14 @@ ENC_ALIAS("SJIS", "Shift_JIS");
* 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
*/
-ENC_REPLICATE("Windows-31J", "Shift_JIS");
-ENC_ALIAS("CP932", "Windows-31J");
-ENC_ALIAS("csWindows31J", "Windows-31J"); /* IANA. IE6 don't accept Windows-31J but csWindows31J. */
+ENC_REPLICATE("Windows-31J", "Shift_JIS")
+ENC_ALIAS("CP932", "Windows-31J")
+ENC_ALIAS("csWindows31J", "Windows-31J") /* IANA. IE6 don't accept Windows-31J but csWindows31J. */
/*
* Name: MacJapanese
* Link: http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/JAPANESE.TXT
* Link: http://ja.wikipedia.org/wiki/MacJapanese
*/
-ENC_REPLICATE("MacJapanese", "Shift_JIS");
-ENC_ALIAS("MacJapan", "MacJapanese");
+ENC_REPLICATE("MacJapanese", "Shift_JIS")
+ENC_ALIAS("MacJapan", "MacJapanese")
diff --git a/enc/utf_16be.c b/enc/utf_16be.c
index f80711d..ccae939 100644
--- a/enc/utf_16be.c
+++ b/enc/utf_16be.c
@@ -255,4 +255,4 @@ OnigEncodingDefine(utf_16be, UTF_16BE) = {
utf16be_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match
};
-ENC_ALIAS("UCS-2BE", "UTF-16BE");
+ENC_ALIAS("UCS-2BE", "UTF-16BE")
diff --git a/enc/utf_32be.c b/enc/utf_32be.c
index 89eb17c..ed6c9b7 100644
--- a/enc/utf_32be.c
+++ b/enc/utf_32be.c
@@ -191,5 +191,5 @@ OnigEncodingDefine(utf_32be, UTF_32BE) = {
utf32be_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match
};
-ENC_ALIAS("UCS-4BE", "UTF-32BE");
+ENC_ALIAS("UCS-4BE", "UTF-32BE")
diff --git a/enc/utf_32le.c b/enc/utf_32le.c
index 425a6ea..53e3522 100644
--- a/enc/utf_32le.c
+++ b/enc/utf_32le.c
@@ -191,4 +191,4 @@ OnigEncodingDefine(utf_32le, UTF_32LE) = {
utf32le_left_adjust_char_head,
onigenc_always_false_is_allowed_reverse_match
};
-ENC_ALIAS("UCS-4LE", "UTF-32LE");
+ENC_ALIAS("UCS-4LE", "UTF-32LE")
diff --git a/enc/windows_1251.c b/enc/windows_1251.c
index 1aa48c6..1cb4da4 100644
--- a/enc/windows_1251.c
+++ b/enc/windows_1251.c
@@ -205,4 +205,4 @@ OnigEncodingDefine(windows_1251, Windows_1251) = {
* Link: http://www.microsoft.com/globaldev/reference/sbcs/1251.mspx
* Link: http://en.wikipedia.org/wiki/Windows-1251
*/
-ENC_ALIAS("CP1251", "Windows-1251");
+ENC_ALIAS("CP1251", "Windows-1251")