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

Fix a typo [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-11-10 13:50:14 +00:00
parent 139eb4e862
commit 7dae879770

View file

@ -32,7 +32,7 @@ inline static int
calc_lineno(const rb_iseq_t *iseq, const VALUE *pc)
{
size_t pos = (size_t)(pc - iseq->body->iseq_encoded);
/* use pos-1 because PC points next instruction at the beggining of instruction */
/* use pos-1 because PC points next instruction at the beginning of instruction */
return rb_iseq_line_no(iseq, pos - 1);
}