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 04/10] Ada language


> 2014-01-25  Sergio Durigan Junior  <sergiodj@redhat.com>
> 
> 	* ada-exp.y (parse_type): Rewrite macro to use parser state.
> 	(yyparse): Redefine macro to ada_parse_internal.
> 	(pstate): New variable.
> 	(write_int, write_object_renaming, write_var_or_type,
> 	write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
> 	type_int, type_long, type_long_long, type_float, type_double,
> 	type_long_double, type_char, type_boolean, type_system_address):
> 	Add "struct parser_state" argument.
> 	(exp1, primary, simple_exp, relation, and_exp, and_then_exp,
> 	or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
> 	var_or_type, aggregate, aggregate_component_list,
> 	positional_list, others, component_group,
> 	component_associations): Update calls to write_exp* and similar
> 	functions in order to use parser state.
> 	(ada_parse, write_var_from_sym, write_int,
> 	write_exp_op_with_string, write_object_renaming,
> 	find_primitive_type, write_selectors, write_ambiguous_var,
> 	write_var_or_type, write_name_assoc, type_int, type_long,
> 	type_long_long, type_float, type_double, type_long_double,
> 	type_char, type_boolean, type_system_address): Add "struct
> 	parser_state" argument.  Adjust function to use parser state.
> 	* ada-lang.c (parse): Likewise.
> 	* ada-lang.h: Forward declare "struct parser_state".
> 	(ada_parse): Add "struct parser_state" argument.
> 	* ada-lex.l (processInt, processReal): Likewise.  Adjust all
> 	calls to both functions.

Still OK.

Thank you, Sergio.
-- 
Joel


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