[net.bugs.4bsd] Bug in "cpp"

laman@sdcsvax.UUCP (09/06/84)

Given the uninteresting macro definition:

#define		x()		y(a)

"Cpp" does NOT give an error message complaining about argument mismatching
for the following macro call:

	x(z);
	  ^
	  |
	opps!

Instead it expands to:

	y(a);

I think this is a bug.  "Cpp" is good about giving error messages for
mismatching arguments.  I don't think this as a feature.

Comments?  Fixes?

		Mike Laman, NCR @ Torrey Pines
		UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!laman