[ruby-cvs:70252] nobu:r63162 (trunk): string.c: fix checking order

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 16 15:37:42 JST 2018


nobu	2018-04-16 15:37:42 +0900 (Mon, 16 Apr 2018)

  New Revision: 63162

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63162

  Log:
    string.c: fix checking order
    
    * string.c (str_undump): check for suffix before if Unicode escape
      conflicts with it.  the message "but used force_encoding" sounds
      strange when it is not used.

  Modified files:
    trunk/string.c
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list