summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-02 08:22:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-02 08:22:47 +0000
commit58919a4da91768367e4bb172df2ea4c9834c5eec (patch)
tree30809c94a6607c038383fe695aa4a757d1ef2291 /internal.h
parent14dfdb5eaf2f4004fa0b08b0a1888e40e1ba5bc4 (diff)
re.c: use built-in encoding indexes
* internal.h: add EUC-JP and Windows-31J. * re.c (rb_char_to_option_kcode): use built-in encoding indexes in internal.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 25e8220787..84ef95fe11 100644
--- a/internal.h
+++ b/internal.h
@@ -211,6 +211,10 @@ enum ruby_preserved_encindex {
ENCINDEX_UTF_16,
ENCINDEX_UTF_32,
ENCINDEX_UTF8_MAC,
+
+ /* for old options of regexp */
+ ENCINDEX_EUC_JP,
+ ENCINDEX_Windows_31J,
#endif
ENCINDEX_BUILTIN_MAX