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:
parent
12bf73637b
commit
aacd771046
33 changed files with 217 additions and 212 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue