made debiug output better

This commit is contained in:
sater 1986-09-22 13:14:54 +00:00
parent f21743e213
commit b5009c57b4

View file

@ -69,8 +69,11 @@ byte *trypat(bp,len) register byte *bp; {
#ifndef NDEBUG #ifndef NDEBUG
if (Debug) { if (Debug) {
fprintf(stderr,"Matched:"); fprintf(stderr,"Matched:");
for (i=0;i<patlen;i++) for (i=0;i<patlen;i++) {
fprintf(stderr," %3.3s",em_mnem[emp[i].em_instr-sp_fmnem]); fprintf(stderr," %3.3s",em_mnem[emp[i].em_instr-sp_fmnem]);
if (emp[i].em_soper)
printf(" %s",emp[i].em_soper);
}
fprintf(stderr,"\n"); fprintf(stderr,"\n");
} }
#endif #endif