This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 10/10] Go programming language
- From: Doug Evans <dje at google dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Mon, 27 Jan 2014 13:36:47 -0800
- Subject: Re: [PATCH v3 10/10] Go programming language
- Authentication-results: sourceware.org; auth=none
- References: <1390629467-27139-1-git-send-email-sergiodj at redhat dot com> <1390629467-27139-11-git-send-email-sergiodj at redhat dot com>
On Fri, Jan 24, 2014 at 9:57 PM, Sergio Durigan Junior
<sergiodj@redhat.com> wrote:
> Patch for the Go programming language. Similar to the C language one.
>
> 2014-01-25 Sergio Durigan Junior <sergiodj@redhat.com>
>
> * go-exp.y (parse_type): Rewrite macro to use parser state.
> (yyparse): Redefine macro to go_parse_internal.
> (pstate): New variable.
> (parse_number): Add "struct parser_state" argument.
> (type_exp, exp1, exp, variable, type): Update calls to
> write_exp* and similars in order to use parser state.
> (parse_number, lex_one_token, classify_name, yylex): Adjust code
> to use parser state.
> (go_parse): Likewise.
> * go-lang.h: Forward declare "struct parser_state".
> (go_parse): Add "struct parser_state" argument.
Hi.
I haven't reviewed the core changes in the patch set, but since this
is just mechanical updates, it's ok by me assuming the core part is
ok.
[by "core changes" I mean, e.g.,
https://sourceware.org/ml/gdb-patches/2014-01/msg00950.html ]