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