[PATCH v3 10/10] Go programming language
Doug Evans
dje@google.com
Mon Jan 27 21:36:00 GMT 2014
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 ]
More information about the Gdb-patches
mailing list