braces (was: Latest indent request)

Longshot randy at uokmax.UUCP
Sat Dec 17 04:30:38 AEST 1988


In article <212 at UNIX386.Convergent.COM> mark at UNIX386.Convergent.COM (Mark Nudelman) writes:
^
^3. Space before and after arithmetic operators (+,-,*,/,%,>>,&,|, etc.)
^

As an interesting aside, the cc here on our Multimax will generate warnings for
lines like:

	x=-y;	/* x = -y or x =- y? */

In other words, and math operator that can be combined with = can produce an
error. This will happen with +,-, *, and any others that fit the bill. Now, I
have yet to hard-test it to see which case it generates. Has anyone had
similiar messages, and checked further?

Randy
-- 
Randy J. Ray			       University of Oklahoma, Norman, Oklahoma
!texsun!uokmax!randy	randy at uokmax.uucp    randy at uokmax.ecn.uoknor.edu
Morality is meaningful only in the culture within it exists.	-instructor
{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][}{][



More information about the Comp.unix.wizards mailing list