This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

PATCH to C++ diagnostics mechanics (part 2)



This continues the C++ diagnostics mechanics rewrite.  The whole
infrastructure is still disabled. Please hold on.

Bootstrapped and tested on i686-pc-linux.  Installed.

-- Gaby
CodeSourcery, LLC		http://www.codesourcery.com
       http://www.codesourcery.com/gcc-compile.shtml

2000-09-12  Gabriel Dos Reis  <gdr@codesourcery.com>

	* error.c (TFF_PLAIN_IDENTIFIER, TFF_NAMESPACE_SCOPE,
	TFF_CLASS_SCOPE, TFF_CHASE_NAMESPACE_ALIAS, TFF_CHASE_TYPDEF,
	TFF_DECL_SPECIFIERS, TFF_CLASS_KEY_OR_ENUM, TFF_RETURN_TYPE,
	TFF_FUNCTION_DEFAULT_ARGUMENTS, TFF_EXCEPTION_SPECIFICATION,
	TFF_TEMPLATE_HEADER, TFF_TEMPLATE_DEFAULT_ARGUMENTS, TFF_SCOPE):
	New macros.
	(sorry_for_unsupported_tree, print_scope_operator,
	print_left_paren, print_right_paren, print_left_bracket,
	print_right_bracket, print_whitespace): Likewise.
	(aggr_variety): Rename to class_key_or_enum.
	(print_type): Rename to print_type_id.
	(print_type_specifier_seq, print_simple_type_specifier,
	print_elaborated_type_specifier,
	print_rest_of_abstract_declarator,
	print_parameter_declaration_clause, print_exception_specification,
	print_nested_name_specifier, print_template_id,
	typedef_original_name,  print_template_argument_list_start,
	print_template_argument_list_end): New functions.

begin 644 e-diff.gz
M'XL("`_PO3D``V4N9&EF9@#M/?U3VTBR/X=Z?\2$JPL8;(+-5V(V=^6`R;H6
M#,^&O6SMV]+*\ACK8B2?)$,XPOWMUSVCD6:D&5DV;':S]50)V-),3T]W3W]-
MC^AX0_JY26@0^,&6L_+NZ==*[ZA/1NZ$-LEKYS9\?>TXK^FUPS\XT]?Q4-7;
ME8!&@4MO7>^:!/`K='V/U+?J.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