mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove garbage spaces
* insns.def, parse.y: remove garbage spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cfb55acaa7
commit
1ea6c81762
2 changed files with 6 additions and 5 deletions
|
@ -1220,8 +1220,8 @@ onceinlinecache
|
|||
}
|
||||
else if (ic->ic_value.value == Qundef)
|
||||
{
|
||||
RUBY_VM_CHECK_INTS(th);
|
||||
rb_thread_schedule();
|
||||
RUBY_VM_CHECK_INTS(th);
|
||||
rb_thread_schedule();
|
||||
goto retry;
|
||||
}
|
||||
else {
|
||||
|
|
7
parse.y
7
parse.y
|
@ -3405,7 +3405,8 @@ opt_block_args_tail : ',' block_args_tail
|
|||
{
|
||||
$$ = new_args_tail(Qnone, Qnone, Qnone);
|
||||
}
|
||||
;
|
||||
;
|
||||
|
||||
block_param : f_arg ',' f_block_optarg ',' f_rest_arg opt_block_args_tail
|
||||
{
|
||||
$$ = new_args($1, $3, $5, Qnone, $6);
|
||||
|
@ -4490,7 +4491,7 @@ opt_args_tail : ',' args_tail
|
|||
{
|
||||
$$ = new_args_tail(Qnone, Qnone, Qnone);
|
||||
}
|
||||
;
|
||||
;
|
||||
|
||||
f_args : f_arg ',' f_optarg ',' f_rest_arg opt_args_tail
|
||||
{
|
||||
|
@ -10063,7 +10064,7 @@ sym_check_asciionly(VALUE str)
|
|||
if (!rb_enc_asciicompat(rb_enc_get(str))) return FALSE;
|
||||
switch (rb_enc_str_coderange(str)) {
|
||||
case ENC_CODERANGE_BROKEN:
|
||||
rb_raise(rb_eEncodingError, "invalid encoding symbol");
|
||||
rb_raise(rb_eEncodingError, "invalid encoding symbol");
|
||||
case ENC_CODERANGE_7BIT:
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue