This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 07/10] Modula-2 language
- From: Gaius Mulley <gaius dot mulley at southwales dot ac dot uk>
- 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: Sat, 25 Jan 2014 13:36:44 +0000
- Subject: Re: [PATCH v3 07/10] Modula-2 language
- Authentication-results: sourceware.org; auth=none
- References: <1390629467-27139-1-git-send-email-sergiodj at redhat dot com> <1390629467-27139-8-git-send-email-sergiodj at redhat dot com>
Sergio Durigan Junior <sergiodj@redhat.com> writes:
> Patch for the Modula-2 language. Similar to the C language one.
>
> 2014-01-25 Sergio Durigan Junior <sergiodj@redhat.com>
>
> * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
> parser state.
> (yyparse): Redefine macro to m2_parse_internal.
> (pstate): New variable.
> (type_exp, exp, fblock, variable, type): Update calls to
> write_exp* and similars to use parser state.
> (yylex): Likewise.
> (m2_parse): New function.
> * m2-lang.h: Forward declare "struct parser_state".
> (m2_parse): Add "struct parser_state" argument.
Hi Sergio,
many thanks - all looks good and clean - happy for this to be applied
assuming no regression test failures,
regards,
Gaius