From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7433 invoked by alias); 16 Jun 2014 16:37:55 -0000 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 Received: (qmail 7339 invoked by uid 89); 16 Jun 2014 16:37:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f54.google.com Received: from mail-qa0-f54.google.com (HELO mail-qa0-f54.google.com) (209.85.216.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 16 Jun 2014 16:37:53 +0000 Received: by mail-qa0-f54.google.com with SMTP id v10so7816820qac.13 for ; Mon, 16 Jun 2014 09:37:50 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.171.195 with SMTP id i3mr28147071qaz.44.1402936670626; Mon, 16 Jun 2014 09:37:50 -0700 (PDT) Received: by 10.229.207.131 with HTTP; Mon, 16 Jun 2014 09:37:50 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Jun 2014 16:37:00 -0000 Message-ID: Subject: Re: [PATCH v2] Initial pass at D language expression parser support. From: Iain Buclaw To: gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00560.txt.bz2 On 5 June 2014 00:43, Iain Buclaw wrote: > Hi, > > This is a second revision at adding support for evaluation D > expressions from gdb. Grammar is pretty much in the same state as the > previous patch. Just a couple of parser fixes and correct handling of > dollar variables. > > Turns out that I can't really think of much good to go into the > testsuite. So I ended up just adding in tests where behaviour in > d-exp.y is meant to differ from c-exp.y. > > Regards > Iain. > > > Initial pass at D language expression parser support. > > 2014-06-05 Iain Buclaw > > * Makefile.in (SFILES): Add d-exp.y. > (YYFILES): Add d-exp.c. > (YYOBJ): Add d-exp.o. > (local-maintainer-clean): Delete d-exp.c. > * d-exp.y: New file. > * d-lang.h (d_parse): New declaration. > (d_error): New declaration. > * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. > Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other > PREC_ORDER operators. > (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. > > 2014-06-05 Iain Buclaw > > * gdb.dlang/expression.exp: New file. > > --- Hi, I'd like to ping on this. I hope that now the 7.8 branch is frozen, this can be reviewed. Regards Iain