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

proc.c: tabify

* proc.c (check_local_id): tabify.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-08-09 13:24:37 +00:00
parent e941e50506
commit 90981c50ba

4
proc.c
View file

@ -428,7 +428,7 @@ check_local_id(VALUE bindval, volatile VALUE *pname)
VALUE name = *pname, sym = name;
if (lid) {
if (!rb_is_local_id(lid)) {
if (!rb_is_local_id(lid)) {
name = rb_id2str(lid);
wrong:
rb_name_error_str(sym, "wrong local variable name `% "PRIsVALUE"' for %"PRIsVALUE,
@ -436,7 +436,7 @@ check_local_id(VALUE bindval, volatile VALUE *pname)
}
}
else {
if (!rb_is_local_name(sym)) goto wrong;
if (!rb_is_local_name(sym)) goto wrong;
return 0;
}
return lid;