[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Oct 22 08:50:58 1996 
Subject:prwarning 
From:A . Sloman 
Volume-ID:961022.01 

It has just struck me that a lot of people could have their debugging
problems reduced if the default version of prwarning were changed to
print out the file nae and the line number as well as the variable
being declared. Something like this:

define prwarning(word);
	printf(word, ';;; DECLARING VARIABLE %P\n');
	if popfilename then
		printf(popfilename, ';;; IN FILE %P\n');
	endif;
	if isinteger(poplinenum) then
		printf(poplinenum, ';;; LINE %P\n');
	endif
enddefine;


xyxyx =>

;;; DECLARING VARIABLE xyxyx
;;; IN FILE /home/staff/axs/test5
;;; LINE 45
** <undef xyxyx>

Shouldn't that be the system default?

Aaron