symbol.c: symbol type predicate functions

* symbol.h (is_{local,global,instance,attrset,const,class,junk}_sym):
  fix ID type names.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-11-18

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
object.c: fix error message

* object.c (check_setter_id): show the original argument instead
  of nil on TypeError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e