summaryrefslogtreecommitdiff
path: root/enc/trans
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-12 17:30:07 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-12 17:30:07 +0000
commit41d3a0148637725fc6078b4bdfadae290ff0d39e (patch)
tree3a6fb7c25fd178d17d8bb9836f109c23c8eefdab /enc/trans
parent248acf0025f047a731b6d6967382ce9b7675a05e (diff)
* enc/trans/escape.trans: transcoder name renamed to use underscore.
* transcode.c: follow the renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans')
-rw-r--r--enc/trans/escape.trans8
1 files changed, 4 insertions, 4 deletions
diff --git a/enc/trans/escape.trans b/enc/trans/escape.trans
index 63836c37a6..df4347cda6 100644
--- a/enc/trans/escape.trans
+++ b/enc/trans/escape.trans
@@ -5,19 +5,19 @@
str.unpack("H*")[0]
end
- transcode_tblgen("", "amp-escaped", [
+ transcode_tblgen("", "amp_escape", [
["{00-25,27-FF}", :nomap],
["26", hexstr("&amp;")]
])
- transcode_tblgen("", "xml-text-escaped", [
+ transcode_tblgen("", "xml_text_escape", [
["{00-25,27-3B,3D,3F-FF}", :nomap],
["26", hexstr("&amp;")],
["3C", hexstr("&lt;")],
["3E", hexstr("&gt;")]
])
- transcode_tblgen("", "xml-attr-content-escaped", [
+ transcode_tblgen("", "xml_attr_content_escape", [
["{00-21,23-25,27-3B,3D,3F-FF}", :nomap],
["22", hexstr("&quot;")],
["26", hexstr("&amp;")],
@@ -74,7 +74,7 @@ escape_xml_attr_quote_finish(void *statep, unsigned char *o)
static const rb_transcoder
rb_escape_xml_attr_quote = {
- "", "xml-attr-quoted", escape_xml_attr_quote,
+ "", "xml_attr_quote", escape_xml_attr_quote,
TRANSCODE_TABLE_INFO,
1, /* input_unit_length */
1, /* max_input */