Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!ncrlnk!ncr-sd!hp-sdd!ucsdhub!ucsd!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c Subject: Re: A curriosity in the C compiler... Message-ID: <8369@alice.UUCP> Date: 28 Oct 88 19:25:44 GMT Article-I.D.: alice.8369 References: <530@uvicctr.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 21 In article <530@uvicctr.UUCP>, sbanner1@uvicctr.UUCP (S. John Banner) writes: > /* > This is a quick test of the C compiler, for implied bracketing... > This will determine if the expression "a = b == c" is parsed > as "(a = b) == c" (which is correct), or as "a = (b == c)" (which > is not). > */ The expression a = b == c is correctly parsed as a = (b == c) despite the comment above to the contrary. -- --Andrew Koenig ark@europa.att.com