This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Initial pass at D language expression parser support.
- From: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 18 Jun 2014 22:27:58 +0100
- Subject: Re: [PATCH v2] Initial pass at D language expression parser support.
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+cZzCNQAwRVnMhxBRH6-cAKx95+OdhfJ50ZtmZA+FVJJw at mail dot gmail dot com> <53A016E3 dot 8070109 at redhat dot com>
On 17 June 2014 11:22, Pedro Alves <palves@redhat.com> wrote:
> On 06/05/2014 12:43 AM, Iain Buclaw wrote:
>
>> Initial pass at D language expression parser support.
>>
>> 2014-06-05 Iain Buclaw <ibuclaw@gdcproject.org>
>>
>> * 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 <ibuclaw@gdcproject.org>
>>
>> * gdb.dlang/expression.exp: New file.
>
> As this is pretty much self contained in the D support code, and
> doesn't touch core GDB, I think it should just be pushed in.
>
> FWIW, I quickly skimmed it and nothing raised my eyebrows.
>
> Thus, OK.
Thanks,
I'll re-base and re-test this first to be sure nothing else has
changed over the last week first.
Regards
Iain.