From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13883 invoked by alias); 27 Aug 2002 20:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13855 invoked by uid 71); 27 Aug 2002 20:56:00 -0000 Resent-Date: 27 Aug 2002 20:56:00 -0000 Resent-Message-ID: <20020827205600.13854.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, jsturm@one-point.com Received: (qmail 9357 invoked by uid 61); 27 Aug 2002 20:51:54 -0000 Message-Id: <20020827205154.9356.qmail@sources.redhat.com> Date: Tue, 27 Aug 2002 14:26:00 -0000 From: jsturm@one-point.com Reply-To: jsturm@one-point.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/7738: cannot build jython from source X-SW-Source: 2002-08/txt/msg00573.txt.bz2 List-Id: >Number: 7738 >Category: java >Synopsis: cannot build jython from source >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Aug 27 13:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jeff Sturm >Release: 3.3 20020826 (experimental) >Organization: >Environment: >Description: Building jython from the rhug distribution fails because assert is now a keyword, and jython sources use "assert" for identifiers. Note this is a regression from previous releases. >How-To-Repeat: With a recent gcj, checkout/build rhug. >Fix: Tom Tromey suggests: * Change jython. Long term this is best. * Change gcj to have an option so that it doesn't recognize "assert" as a keyword (the JDK javac has this). I think the code to do this would be pretty small, just a hack in lex.c (plus the command-line recognition and of course the documentation). >Release-Note: >Audit-Trail: >Unformatted: