Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: indent bug Message-ID: <9313@mimsy.UUCP> Date: Wed, 11-Nov-87 20:50:32 EST Article-I.D.: mimsy.9313 Posted: Wed Nov 11 20:50:32 1987 Date-Received: Sat, 14-Nov-87 06:02:44 EST References: <10266@brl-adm.ARPA> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 22 In article <10266@brl-adm.ARPA> eichelbe@nadc.arpa (J. Eichelberger) writes: > i=!i; becomes > i != i; Sorry about that. This is a side effect of the `indent converts old style assignment operators' `feature'. I intend to remove this `feature' someday---perhaps at about the same time as 4BSD cc stops supporting it as well. There is an argument against this: if the compiler stops supporting it, perhaps indent should continue to support it so that one can translate old code mechanically. I think I am going to ignore this argument: most of said old code is in /usr/src, not in users' sources, at least per my own experience. Consider this a warning: The next BSD (apply usual disclaimers) will probably not support = operators. That is, `i =+ 1' will not compile, though `i += 1' will. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris