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 v3 10/10] Go programming language


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 ]


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