From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16451 invoked by alias); 8 Oct 2004 19:45:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16208 invoked from network); 8 Oct 2004 19:45:05 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Oct 2004 19:45:05 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i98Jj0kG021415 for ; Fri, 8 Oct 2004 15:45:05 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i98Jisr21841; Fri, 8 Oct 2004 15:44:54 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DBA4F28D2; Fri, 8 Oct 2004 15:44:34 -0400 (EDT) Message-ID: <4166EE22.4090403@gnu.org> Date: Sat, 09 Oct 2004 00:29:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: Paul Hilfinger Cc: gdb@sources.redhat.com Subject: Re: ada vs identical flex References: <20041008102741.322A7F29FF@nile.gnat.com> In-Reply-To: <20041008102741.322A7F29FF@nile.gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00268.txt.bz2 > I think I can get rid of the yyrealloc stuff altogether. It seems that > one of the rules in ada-lex is not really used, but causes the non-use > of yyrealloc as a side-effect. If you could, would you try the following > patch with the problematic platform/flex version? Thanks. Built for me! Thanks. Andrew > Paul Hilfinger > > > Index: merge.224/gdb/ada-lex.l > --- merge.224/gdb/ada-lex.l Wed, 06 Oct 2004 02:59:24 -0700 hilfingr > +++ merge.224(w)/gdb/ada-lex.l Fri, 08 Oct 2004 03:18:25 -0700 hilfingr > @@ -154,8 +154,6 @@ static int find_dot_all (const char *); > return CHARLIT; > } > > -\"{OPER}\"/{WHITE}*"(" { return processId (yytext, yyleng); } > - > \" { > tempbuf_len = 0; > BEGIN IN_STRING; > @@ -926,5 +924,5 @@ yywrap(void) > typedef void (*dummy_function) (); > dummy_function ada_flex_use[] = > { > - (dummy_function) yyrealloc, (dummy_function) yyunput > + (dummy_function) yyunput > }; >