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 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,
-- 
Pedro Alves


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