diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-28 09:43:49 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-28 09:43:49 +0000 |
commit | 90d5bcf9104fe58887cf705b718a9c7b537b51a5 (patch) | |
tree | ddad772917567e032a6b34254ebdf4f9d321bbb0 /test/rdoc/test_rdoc_parser_ruby.rb | |
parent | 8af7ed60368c030e95ec782022538254d256d590 (diff) | |
download | ruby-90d5bcf9104fe58887cf705b718a9c7b537b51a5.tar.gz |
* re.c (rb_reg_expr_str): need to escape if the coderage is invalid.
* error.c, include/ruby/intern.h (rb_compile_error_with_enc): new
function to raise syntax error, with source encoding'ed message.
* parse.y (compile_error): use above function.
[ruby-core:33951] (#4217)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_parser_ruby.rb')
0 files changed, 0 insertions, 0 deletions