How about a predefined #FILE, #PATH and #FUNCTION for C?

Joseph Grace grace at yale.ARPA
Mon Jan 27 12:54:02 AEST 1986


Summary:
Expires:
Sender:
Followup-To:
Distribution:
Keywords:

Sorry, I have one addition to make to my proposal:

	    #PATH ==> /usr/fred/test.c
	    #FILE ==> test.c
    *new*   #BASE ==> test          /* Use this macro in function main of
				     * previous message (instead of #FILE).
				     */
	    #FUNCTION ==> main

and maybe these would be better in CAPS to be consistent with typical
UNIX error messages.

Joe Grace
...decvax!yale!grace



More information about the Comp.lang.c mailing list