1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* *.c, parse.y, insns.def: use RARRAY_AREF/ASET macro

instead of using RARRAY_PTR().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-05-13 09:56:22 +00:00
parent 12bf73637b
commit aacd771046
33 changed files with 217 additions and 212 deletions

View file

@ -112,7 +112,7 @@ error_print(void)
error_pos();
}
else {
VALUE mesg = RARRAY_PTR(errat)[0];
VALUE mesg = RARRAY_AREF(errat, 0);
if (NIL_P(mesg))
error_pos();