summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:39:10 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 08:39:10 +0000
commit53cffba8cb3ee3e38eaed5b5679d9bdc5bc8a11e (patch)
tree0eceed3cb5e92f7e36b68e80e42f56342399baed /enc
parentddc5f561e7df66a8f50df81686586f1e1c6b2c72 (diff)
* enc/ascii.c: ISO C does not allow extra ';' outside of a
function * enc/us_ascii.c: ditto. * enc/utf_8.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/ascii.c88
-rw-r--r--enc/us_ascii.c6
-rw-r--r--enc/utf_8.c6
3 files changed, 50 insertions, 50 deletions
diff --git a/enc/ascii.c b/enc/ascii.c
index a74dcb0ec78..3d62ec9bf7b 100644
--- a/enc/ascii.c
+++ b/enc/ascii.c
@@ -47,47 +47,47 @@ OnigEncodingDefine(ascii, ASCII) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("BINARY", "ASCII-8BIT");
-ENC_REPLICATE("IBM437", "ASCII-8BIT");
-ENC_ALIAS("CP437", "IBM437");
-ENC_REPLICATE("IBM737", "ASCII-8BIT");
-ENC_ALIAS("CP737", "IBM737");
-ENC_REPLICATE("IBM775", "ASCII-8BIT");
-ENC_ALIAS("CP775", "IBM775");
-ENC_REPLICATE("CP850", "ASCII-8BIT");
-ENC_ALIAS("IBM850", "CP850");
-ENC_REPLICATE("IBM852", "ASCII-8BIT");
-ENC_REPLICATE("CP852", "IBM852");
-ENC_REPLICATE("IBM855", "ASCII-8BIT");
-ENC_REPLICATE("CP855", "IBM855");
-ENC_REPLICATE("IBM857", "ASCII-8BIT");
-ENC_ALIAS("CP857", "IBM857");
-ENC_REPLICATE("IBM860", "ASCII-8BIT");
-ENC_ALIAS("CP860", "IBM860");
-ENC_REPLICATE("IBM861", "ASCII-8BIT");
-ENC_ALIAS("CP861", "IBM861");
-ENC_REPLICATE("IBM862", "ASCII-8BIT");
-ENC_ALIAS("CP862", "IBM862");
-ENC_REPLICATE("IBM863", "ASCII-8BIT");
-ENC_ALIAS("CP863", "IBM863");
-ENC_REPLICATE("IBM864", "ASCII-8BIT");
-ENC_ALIAS("CP864", "IBM864");
-ENC_REPLICATE("IBM865", "ASCII-8BIT");
-ENC_ALIAS("CP865", "IBM865");
-ENC_REPLICATE("IBM866", "ASCII-8BIT");
-ENC_ALIAS("CP866", "IBM866");
-ENC_REPLICATE("IBM869", "ASCII-8BIT");
-ENC_ALIAS("CP869", "IBM869");
-ENC_REPLICATE("Windows-1258", "ASCII-8BIT");
-ENC_ALIAS("CP1258", "Windows-1258");
-ENC_REPLICATE("GB1988", "ASCII-8BIT");
-ENC_REPLICATE("macCentEuro", "ASCII-8BIT");
-ENC_REPLICATE("macCroatian", "ASCII-8BIT");
-ENC_REPLICATE("macCyrillic", "ASCII-8BIT");
-ENC_REPLICATE("macGreek", "ASCII-8BIT");
-ENC_REPLICATE("macIceland", "ASCII-8BIT");
-ENC_REPLICATE("macRoman", "ASCII-8BIT");
-ENC_REPLICATE("macRomania", "ASCII-8BIT");
-ENC_REPLICATE("macThai", "ASCII-8BIT");
-ENC_REPLICATE("macTurkish", "ASCII-8BIT");
-ENC_REPLICATE("macUkraine", "ASCII-8BIT");
+ENC_ALIAS("BINARY", "ASCII-8BIT")
+ENC_REPLICATE("IBM437", "ASCII-8BIT")
+ENC_ALIAS("CP437", "IBM437")
+ENC_REPLICATE("IBM737", "ASCII-8BIT")
+ENC_ALIAS("CP737", "IBM737")
+ENC_REPLICATE("IBM775", "ASCII-8BIT")
+ENC_ALIAS("CP775", "IBM775")
+ENC_REPLICATE("CP850", "ASCII-8BIT")
+ENC_ALIAS("IBM850", "CP850")
+ENC_REPLICATE("IBM852", "ASCII-8BIT")
+ENC_REPLICATE("CP852", "IBM852")
+ENC_REPLICATE("IBM855", "ASCII-8BIT")
+ENC_REPLICATE("CP855", "IBM855")
+ENC_REPLICATE("IBM857", "ASCII-8BIT")
+ENC_ALIAS("CP857", "IBM857")
+ENC_REPLICATE("IBM860", "ASCII-8BIT")
+ENC_ALIAS("CP860", "IBM860")
+ENC_REPLICATE("IBM861", "ASCII-8BIT")
+ENC_ALIAS("CP861", "IBM861")
+ENC_REPLICATE("IBM862", "ASCII-8BIT")
+ENC_ALIAS("CP862", "IBM862")
+ENC_REPLICATE("IBM863", "ASCII-8BIT")
+ENC_ALIAS("CP863", "IBM863")
+ENC_REPLICATE("IBM864", "ASCII-8BIT")
+ENC_ALIAS("CP864", "IBM864")
+ENC_REPLICATE("IBM865", "ASCII-8BIT")
+ENC_ALIAS("CP865", "IBM865")
+ENC_REPLICATE("IBM866", "ASCII-8BIT")
+ENC_ALIAS("CP866", "IBM866")
+ENC_REPLICATE("IBM869", "ASCII-8BIT")
+ENC_ALIAS("CP869", "IBM869")
+ENC_REPLICATE("Windows-1258", "ASCII-8BIT")
+ENC_ALIAS("CP1258", "Windows-1258")
+ENC_REPLICATE("GB1988", "ASCII-8BIT")
+ENC_REPLICATE("macCentEuro", "ASCII-8BIT")
+ENC_REPLICATE("macCroatian", "ASCII-8BIT")
+ENC_REPLICATE("macCyrillic", "ASCII-8BIT")
+ENC_REPLICATE("macGreek", "ASCII-8BIT")
+ENC_REPLICATE("macIceland", "ASCII-8BIT")
+ENC_REPLICATE("macRoman", "ASCII-8BIT")
+ENC_REPLICATE("macRomania", "ASCII-8BIT")
+ENC_REPLICATE("macThai", "ASCII-8BIT")
+ENC_REPLICATE("macTurkish", "ASCII-8BIT")
+ENC_REPLICATE("macUkraine", "ASCII-8BIT")
diff --git a/enc/us_ascii.c b/enc/us_ascii.c
index 8a18966ee3a..39e2b26088d 100644
--- a/enc/us_ascii.c
+++ b/enc/us_ascii.c
@@ -26,6 +26,6 @@ OnigEncodingDefine(us_ascii, US_ASCII) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("ASCII", "US-ASCII");
-ENC_ALIAS("ANSI_X3.4-1968", "US-ASCII");
-ENC_ALIAS("646", "US-ASCII");
+ENC_ALIAS("ASCII", "US-ASCII")
+ENC_ALIAS("ANSI_X3.4-1968", "US-ASCII")
+ENC_ALIAS("646", "US-ASCII")
diff --git a/enc/utf_8.c b/enc/utf_8.c
index 4eaf6a21e77..b8ee92feb44 100644
--- a/enc/utf_8.c
+++ b/enc/utf_8.c
@@ -442,7 +442,7 @@ OnigEncodingDefine(utf_8, UTF_8) = {
left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
-ENC_ALIAS("CP65001", "UTF-8");
+ENC_ALIAS("CP65001", "UTF-8")
/*
* Name: UTF8-MAC
@@ -450,6 +450,6 @@ ENC_ALIAS("CP65001", "UTF-8");
* Link: http://developer.apple.com/qa/qa2001/qa1235.html
* Link: http://developer.apple.com/jp/qa/qa2001/qa1235.html
*/
-ENC_REPLICATE("UTF8-MAC", "UTF-8");
-ENC_ALIAS("UTF-8-MAC", "UTF8-MAC");
+ENC_REPLICATE("UTF8-MAC", "UTF-8")
+ENC_ALIAS("UTF-8-MAC", "UTF8-MAC")