* parse.y (reg_compile_gen): copy encoding from source string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
19dee8af57
commit
0f09f59ef7
@ -1,7 +1,9 @@
|
||||
Thu Oct 4 15:57:16 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Thu Oct 4 16:15:55 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_obj_encoding): returns encoding of the given object.
|
||||
|
||||
* parse.y (reg_compile_gen): copy encoding from source string.
|
||||
|
||||
* re.c (Init_Regexp): new method Regexp#encoding.
|
||||
|
||||
* string.c (str_encoding): moved to encoding.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user