Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!decvax!cca!ima!haddock!johnl
From: johnl@haddock.UUCP
Newsgroups: net.lang.c
Subject: Re: Orphaned Response - (nf)
Message-ID: <93@haddock.UUCP>
Date: Wed, 14-Mar-84 23:40:36 EST
Article-I.D.: haddock.93
Posted: Wed Mar 14 23:40:36 1984
Date-Received: Fri, 16-Mar-84 07:44:58 EST
Lines: 19

#R:smu:13800001:haddock:12400004:177600:480
haddock!johnl    Feb 13 15:18:00 1984

In regard to this:

	cat = foo ? fu = bar : mouse;

Precedence has nothing to do with it.  Precedence only matters when there
are two possible legal parses, such as "a + b * c" which could be either
"(a + b) * c" or "a + (b * c)" without precedence to disambiguate.

The only possible parse for the first expression is:

	cat = foo ? (fu = bar) : mouse;

so that the "fu = bar" assignment happens before the assignment to cat
if it happens at all.  Golly.

John Levine, ima!johnl