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 07/10] Modula-2 language


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


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