whitespace cleanup

This commit is contained in:
dzaima 2023-01-31 00:02:02 +02:00
parent 74cfec9704
commit c38565ab8d
3 changed files with 4 additions and 4 deletions

View File

@ -435,7 +435,7 @@ B indexOf_c1(B t, B x) {
rp[i]=s; u+=u==s; \
} \
decG(x); TFREE(uniq); return r;
#define DOTAB(T) /*leaves 1+max in u */ \
#define DOTAB(T) /* leaves 1+max in u */ \
i32 u=0; \
for (usz i=0; i<n; i++) { \
T j=xp[i]; i32 t=tab[j]; \

View File

@ -120,12 +120,12 @@ B parseFloat_c1(B t, B x) {
if (isAtm(x)) thrM("•ParseFloat: Expected a character list argument");
if (TI(x,elType)!=el_c8) {
x = chr_squeeze(x);
if (TI(x,elType)!=el_c8) thrM("•ParseFloat: Expected a character list argument");
if (TI(x,elType)!=el_c8) thrM("•ParseFloat: Expected a character list argument");
}
usz ia = IA(x);
if (RNK(x)!=1) thrM("•ParseFloat: Input must have rank 1");
if (ia==0) thrM("•ParseFloat: Input was empty");
if (ia >= (1<<20)) thrM("•ParseFloat: Input too long"); // otherwise things like
if (ia >= (1<<20)) thrM("•ParseFloat: Input too long"); // assumption by ryu_s2d_n
u8* data = c8any_ptr(x);
f64 res;
if (!ryu_s2d_n(data, ia, &res)) thrM("•ParseFloat: Malformed input");

View File

@ -791,7 +791,7 @@ void typesFinished_init() {
if (TIi(i,freeT) == def_fallbackTriv) TIi(i,freeT) = TIi(i,freeF);
}
#if NATIVE_COMPILER
nativeCompiler_init();
nativeCompiler_init();
#if ONLY_NATIVE_COMP
load_comp = native_comp;
#endif