ref: b42db98c8eccd7c30da56e6098ded287eeee2f27
parent: 2a89e34cd0b8015dc6b8f679e5cc17511a4743ca
author: 9ferno <[email protected]>
date: Thu Aug 26 10:04:29 EDT 2021
more detailed error message
--- a/libinterp/xec.c
+++ b/libinterp/xec.c
@@ -329,7 +329,7 @@
ml = *(Modlink**)R.s;
if(ml == H)
- error(exModule);
+ errorf("mnewz: %s", exModule);
h = heapz(ml->type[W(m)]);
wp = R.d;
t = *wp;
@@ -373,7 +373,7 @@
ml = *(Modlink**)R.s;
if(ml == H)
- error(exModule);
+ errorf("mframe: %s", exModule);
o = W(m);
if(o >= 0){
@@ -690,7 +690,7 @@
ml = *(Modlink**)R.d;
if(ml == H)
- error(exModule);
+ errorf("mspawn: %s", exModule);
if(ml->prog == nil)
error(exSpawn);
p = newprog(currun(), ml);
@@ -800,7 +800,7 @@
ml = *(Modlink**)R.d;
if(ml == H)
- error(exModule);
+ errorf("mcall: %s", exModule);
f = T(s);
f->lr = R.PC;
f->fp = R.FP;