From owner-freebsd-hackers Fri Jun 5 22:26:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA24442 for freebsd-hackers-outgoing; Fri, 5 Jun 1998 22:26:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (daemon@smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA24280 for ; Fri, 5 Jun 1998 22:25:50 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id WAA29594; Fri, 5 Jun 1998 22:25:43 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd029538; Fri Jun 5 22:25:34 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id WAA28704; Fri, 5 Jun 1998 22:25:28 -0700 (MST) From: Terry Lambert Message-Id: <199806060525.WAA28704@usr08.primenet.com> Subject: Re: style(9) error? To: joelh@gnu.org Date: Sat, 6 Jun 1998 05:25:28 +0000 (GMT) Cc: grog@lemis.com, cc@swing.ca.sandia.gov, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199806052105.QAA02287@detlev.UUCP> from "Joel Ray Holveck" at Jun 5, 98 04:05:43 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> I always thought that blocks evaluated to their last statements, but > >> it seems not.. > > Not in C. You might be thinking of Algol 68 or LISP. > > Or quite possibly Perl, or the comma construct of C. This is a common misconception. The "return" value being examined is actually the normal register used for return values. This (incorrectly) presumes a calling convention. Don't use it. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message