C parsing : Significance of spaces

Stuart Kurtz stuart at gargoyle.UChicago.UUCP
Thu Apr 26 01:46:26 AEST 1984


	You should notice that without spaces, it doesn't matter how
	you resolve the ambiguous construct a+++b, there can be at most
	three +'s (or -'s) there.  The point is that a++ is an
	expression, not a variable (an lvalue, not an rvalue -- if it
	matters).

	Curiously enough, if you add spaces (or parentheses) you
	can get five consecutive +'s or -'s, e.g., a++ + ++b.
	Cheers.

				Stuart Kurtz.



More information about the Comp.lang.c mailing list