Now calling trace with the current line number as parameter.

This commit is contained in:
keie 1985-02-08 13:18:26 +00:00
parent e9850f2691
commit 8a7ee2ea50

View file

@ -52,7 +52,11 @@ int nr;
fprintf(tmpfile,"%d\n",currline->emlabel);
fprintf(tmpfile," lin %d\n",nr);
emlinecount += 2;
if( tronoff || traceflag) emcode("cal","$_trace");
if( tronoff || traceflag) {
emcode("loc",itoa(nr));
emcode("cal","$_trace");
emcode("asp","EM_WSIZE");
}
}
emcode(operation,params)