From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24498 invoked by alias); 26 Jul 2007 07:36:53 -0000 Received: (qmail 24487 invoked by uid 22791); 26 Jul 2007 07:36:52 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Jul 2007 07:36:50 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id 1FB81187020; Thu, 26 Jul 2007 09:40:41 +0200 (CEST) From: "Pierre Muller" To: "'Gaius Mulley'" , References: <874pjs57zg.fsf@j228-gm.comp.glam.ac.uk> In-Reply-To: <874pjs57zg.fsf@j228-gm.comp.glam.ac.uk> Subject: RE: [PATCH] Unbounded array support implemented (for Modula-2) Date: Thu, 26 Jul 2007 22:58:00 -0000 Message-ID: <002a01c7cf57$b881b0c0$29851240$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00283.txt.bz2 Could you explain why you need to add TSIZE as a synonym of SIZE? Is it just a matter of parser shift/reduce conflicts? Is TSIZE a modula-2 function? Is your change in gdb.texinfo in a modula-2 specific area? Modula-2 is not the only language supporting unbounded arrays, I would be interested in using the same kind of code for pascal language support. Maybe a more general approach would be useful? One more remark: in m2_unbounded_array function, it would probably be better to honor the value of the show argument, and to only output something if show is non-zero. Pierre Muller GDB pascal language support maintainer