return expr and Decus-C - (nf)

bobm at zinfandel.UUCP bobm at zinfandel.UUCP
Wed May 16 18:24:20 AEST 1984


#R:decvax:-47800:zinfandel:14600019:000:446
zinfandel!bobm    May 14 23:40:00 1984

> 1.  Decus C does not support "return expression;" where the
>     expression is not enclosed in parentheses.

> We have not bothered to change Decus C as we feel that we would be
> legitimizing a poor programming practice.  The change to the compiler,
> which is very simple, is left as a exercise for the student.

What's poor about writing

	return 0;

At least it doesn't look like a function call, like

	return(0);

does.

					Bob Miller



More information about the Comp.lang.c mailing list