Branch: Tag:

2017-01-24

2017-01-24 17:13:15 by Martin Nilsson <nilsson@fastmail.com>

White space changes and removed dead code.

897:    }       if(neg) -  { +     mpz_clear(tmp); -  } +        s = end_shared_string(s);    }
912:       if(s) {    push_string(s); -  if (method == 'X') { +  if (method == 'X')    f_upper_case(1);    } -  } else { +  else    push_undefined();   } - } +       /* protected int(0..1) _is_type(string type)    */
990:    push_undefined();   }    - /* Non-reentrant */ - #if 0 - /* These two functions are here so we can allocate temporary -  * objects without having to worry about them leaking in -  * case of errors.. -  */ - static struct object *temporary; - MP_INT *get_tmp(void) - { -  if(!temporary) -  temporary=clone_object(mpzmod_program,0); -  -  return (MP_INT *)temporary->storage; - } -  - static void return_temporary(INT32 args) - { -  pop_n_elems(args); -  push_object(temporary); -  temporary=0; - } - #endif -  +    double double_from_sval(struct svalue *s)   {    switch(TYPEOF(*s))