From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 03a4c2e5 for ; Wed, 31 Oct 2018 07:01:55 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 8446BA22F9; Wed, 31 Oct 2018 17:01:54 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 80CA1A216C; Wed, 31 Oct 2018 17:01:30 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 8EDB6A215A; Wed, 31 Oct 2018 16:09:42 +1000 (AEST) Received: from junk.nocrew.org (junk.nocrew.org [51.15.56.219]) by minnie.tuhs.org (Postfix) with ESMTPS id 86C12A2152 for ; Wed, 31 Oct 2018 16:09:41 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=junk.nocrew.org) by junk.nocrew.org with esmtp (Exim 4.86_2) (envelope-from ) id 1gHjhD-0003wl-Id; Wed, 31 Oct 2018 06:09:39 +0000 From: Lars Brinkhoff To: "Steve Johnson" Organization: nocrew References: Date: Wed, 31 Oct 2018 06:09:39 +0000 In-Reply-To: (Steve Johnson's message of "Tue, 30 Oct 2018 15:01:55 -0700") Message-ID: <7wy3aebqak.fsf@junk.nocrew.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [TUHS] Archaic yacc C grammar X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Steve Johnson wrote: > The closest I came was when we went from a single namespace for all > structure names to a namespace for each structure, and references that > were checked using the pointer type of the structure pointer. My code > was a nightmare, and some of the old Unix code was at least a bad > dream. How about this, pointer to int used as pointer to struct. prlook( pp ) int *pp;{ int j; pp = pp->lset; ....