Increased the amount of information passed through error routines
to printf. The routine badassert, running on a 2/4 machine lost it's last argument on the way. Anyone know of a better way to solve this problem?
This commit is contained in:
parent
4759d84bdd
commit
5689e6ab64
1 changed files with 4 additions and 4 deletions
|
@ -519,15 +519,15 @@ c3_p findcoerc(tp,tep) token_p tp; set_p tep; {
|
|||
}
|
||||
|
||||
|
||||
error(s,a1,a2,a3,a4) char *s; {
|
||||
error(s,a1,a2,a3,a4,a5,a6,a7,a8) char *s; {
|
||||
|
||||
fatal(s,a1,a2,a3,a4);
|
||||
fatal(s,a1,a2,a3,a4,a5,a6,a7,a8);
|
||||
}
|
||||
|
||||
fatal(s,a1,a2,a3,a4) char *s; {
|
||||
fatal(s,a1,a2,a3,a4,a5,a6,a7,a8) char *s; {
|
||||
|
||||
fprintf(stderr,"Error: ");
|
||||
fprintf(stderr,s,a1,a2,a3,a4);
|
||||
fprintf(stderr,s,a1,a2,a3,a4,a5,a6,a7,a8);
|
||||
fprintf(stderr,"\n");
|
||||
out_finish();
|
||||
abort();
|
||||
|
|
Loading…
Reference in a new issue