mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove extra spaces before ;
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ mrb_read_float(const char *str, char **endp, double *fp)
|
||||
|
||||
if (ISDIGIT(*p)) {
|
||||
while (*p && ISDIGIT(*p)) {
|
||||
f += base * (*p - '0') ;
|
||||
f += base * (*p - '0');
|
||||
base /= 10.0;
|
||||
p++;
|
||||
n++;
|
||||
|
||||
+1
-1
@@ -2366,7 +2366,7 @@ mrb_str_len_to_integer(mrb_state *mrb, const char *str, size_t len, mrb_int base
|
||||
#ifdef MRB_USE_BIGINT
|
||||
p2 = p;
|
||||
#endif
|
||||
for ( ;p<pend;p++) {
|
||||
for (;p<pend; p++) {
|
||||
if (*p == '_') {
|
||||
p++;
|
||||
if (p==pend) {
|
||||
|
||||
@@ -147,7 +147,7 @@ envadjust(mrb_state *mrb, mrb_value *oldbase, mrb_value *newbase, size_t oldsize
|
||||
}
|
||||
}
|
||||
|
||||
/** def rec ; $deep =+ 1 ; if $deep > 1000 ; return 0 ; end ; rec ; end */
|
||||
/** def rec; $deep =+ 1; if $deep > 1000; return 0; end; rec; end **/
|
||||
|
||||
static void
|
||||
stack_extend_alloc(mrb_state *mrb, mrb_int room)
|
||||
|
||||
Reference in New Issue
Block a user