Project

General

Profile

« Previous | Next » 

Revision 90d5bcf9

Added by usa (Usaku NAKAMURA) over 13 years ago

  • 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