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:
parent
e941e50506
commit
90981c50ba
1 changed files with 2 additions and 2 deletions
4
proc.c
4
proc.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue