note to myself: when you steal from somewhere, hide the evidence! :-)
This commit is contained in:
parent
5f209cfa28
commit
e7837e32a2
1 changed files with 2 additions and 2 deletions
|
@ -185,9 +185,9 @@
|
|||
f = bind(f, globals);
|
||||
call(f, nil, nil, locals, err);
|
||||
if (size(err)) {
|
||||
printf("%s at %s line %d\n", err[0], err[1], err[2]);
|
||||
printf("%s at %s line %d", err[0], err[1], err[2]);
|
||||
for (var i = 3; i < size(err); i += 2) {
|
||||
printf(" called from %s line %d\n", err[i], err[i + 1]);
|
||||
printf(" called from %s line %d", err[i], err[i + 1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue