ams@hou4b.UUCP (Andrew Shaw) (08/15/84)
I want to use the C preprocessor (sVr2) in order to change all function calls of the form foobar() to calls of the form foobar(x,y,z). However the obvious solution #define foobar() foobar (x, y, z) ... foobar(); /* want to have foobar(x, y, z) here */ does not work: cpp complains that the call has an incorrect number of arguments. Does anyone have any ideas as to how I can get the preprocessor to not interpret the #define as a macro definition, but rather as a straight text replacement? Thanks, Andrew Shaw AT&TISL 834-4085 HO 1C-412A houx[a-z]!hou4b!ams