From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18897 invoked by alias); 29 Sep 2002 20:42:29 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18890 invoked from network); 29 Sep 2002 20:42:28 -0000 Received: from unknown (HELO egil.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 29 Sep 2002 20:42:28 -0000 Received: from zack by egil.codesourcery.com with local (Exim 3.36 #1 (Debian)) id 17vktV-0005AF-00; Sun, 29 Sep 2002 13:42:25 -0700 Date: Sun, 29 Sep 2002 13:59:00 -0000 From: Zack Weinberg To: Bruce Korb Cc: Robert Dewar , gcc@gcc.gnu.org Subject: Re: module level flags Message-ID: <20020929204225.GF1288@codesourcery.com> References: <20020929010601.GB1288@codesourcery.com> <3D9635BA.5DC3F94F@pacbell.net> <20020928231730.6464C2CABC@inet1.ywave.com> <3D963F4D.73F799D5@pacbell.net> <20020928235248.GA1288@codesourcery.com> <20020929094001.55918F2B55@nile.gnat.com> <20020929183348.GD1288@codesourcery.com> <3D975E47.486D386E@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D975E47.486D386E@pacbell.net> User-Agent: Mutt/1.4i X-SW-Source: 2002-09/txt/msg01219.txt.bz2 This is my last word on the subject - I don't have time for the argument. However, your repeated assertion that "the intended use" of YYSTYPE is in a manner incompatible with the C standard is indefensible. You've *chosen* to define YYSTYPE as "int" in a parser that actually wants to store one of several different pointer types in that data type. You should never have expected this to work. The Bison manual could perhaps be worded more strongly, but it is clear enough that one must use %union and %type in a parser of this form. (These directives are supported by all modern versions of Yacc, so portability is not an excuse here.) Fix your code. zw