This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Initial pass at D language expression parser support.


On 5 June 2014 00:43, Iain Buclaw <ibuclaw@gdcproject.org> 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  <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.
>
> ---


Hi,

I'd like to ping on this.  I hope that now the 7.8 branch is frozen,
this can be reviewed.

Regards
Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]