use err more
This commit is contained in:
parent
a1870123cd
commit
b38db2dda0
@ -281,7 +281,7 @@ void load_init() { // very last init function
|
|||||||
#else
|
#else
|
||||||
B r = rtComplete[i]? inc(fruntime[i]) : rtObjGet(rtObjRaw, i);
|
B r = rtComplete[i]? inc(fruntime[i]) : rtObjGet(rtObjRaw, i);
|
||||||
#endif
|
#endif
|
||||||
if (q_N(r)) { printf("· in runtime!\n"); exit(1); }
|
if (q_N(r)) err("· in runtime!\n");
|
||||||
if (isVal(r)) v(r)->flags|= i+1;
|
if (isVal(r)) v(r)->flags|= i+1;
|
||||||
#ifdef RT_WRAP
|
#ifdef RT_WRAP
|
||||||
r = rtWrap_wrap(r);
|
r = rtWrap_wrap(r);
|
||||||
|
|||||||
@ -49,10 +49,7 @@ int main(int argc, char* argv[]) {
|
|||||||
bqn_exit(0);
|
bqn_exit(0);
|
||||||
#endif
|
#endif
|
||||||
bqn_setComp(bqn_exec(srcB, bi_N, bi_N));
|
bqn_setComp(bqn_exec(srcB, bi_N, bi_N));
|
||||||
} else {
|
} else err("couldn't read c.bqn\n");
|
||||||
printf("couldn't read c.bqn\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
bool startREPL = argc==1;
|
bool startREPL = argc==1;
|
||||||
bool silentREPL = false;
|
bool silentREPL = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user