diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-01-26 20:51:37 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-01-26 20:51:37 +0000 |
commit | 158991b7e5be34f9464adadacb734743d4e39ca6 (patch) | |
tree | d6963b0f465ce20472a59151e1711f58104f858f /gcc/cp/error.c | |
parent | 5c5c34a4cb563453ca1f30af9ee6499742a39e45 (diff) | |
download | gcc-158991b7e5be34f9464adadacb734743d4e39ca6.zip gcc-158991b7e5be34f9464adadacb734743d4e39ca6.tar.gz gcc-158991b7e5be34f9464adadacb734743d4e39ca6.tar.bz2 |
call.c: PROTO -> PARAMS.
* call.c: PROTO -> PARAMS.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl.h: Likewise.
* decl2.c: Likewise.
* dump.c: Likewise.
* errfn.c: Likewise.
* error.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* init.c: Likewise.
* input.c: Likewise.
* lex.c: Likewise.
* lex.h: Likewise.
* method.c: Likewise.
* optimize.c: Likewise.
* parse.y: Likewise.
* pt.c: Likewise.
* repo.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* spew.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
* xref.c: Likewise.
From-SVN: r31632
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index f76b4da..d0196f5 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1,6 +1,7 @@ /* Call-backs for C++ error reporting. This code is non-reentrant. - Copyright (C) 1993, 94-97, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1993, 94, 95, 96, 97, 98, 99, 2000 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -57,44 +58,44 @@ static char *scratch_firstobj; enum pad { none, before, after }; -static const char *args_to_string PROTO((tree, int)); -static const char *assop_to_string PROTO((enum tree_code, int)); -static const char *code_to_string PROTO((enum tree_code, int)); -static const char *cv_to_string PROTO((tree, int)); -static const char *decl_to_string PROTO((tree, int)); -static const char *expr_to_string PROTO((tree, int)); -static const char *fndecl_to_string PROTO((tree, int)); -static const char *language_to_string PROTO((enum languages, int)); -static const char *op_to_string PROTO((enum tree_code, int)); -static const char *parm_to_string PROTO((int, int)); -static const char *type_to_string PROTO((tree, int)); - -static void dump_type PROTO((tree, enum tree_string_flags)); -static void dump_simple_decl PROTO((tree, tree, enum tree_string_flags)); -static void dump_decl PROTO((tree, enum tree_string_flags)); -static void dump_template_decl PROTO((tree, enum tree_string_flags)); -static void dump_function_decl PROTO((tree, enum tree_string_flags)); -static void dump_expr PROTO((tree, enum tree_string_flags)); -static void dump_unary_op PROTO((const char *, tree, enum tree_string_flags)); -static void dump_binary_op PROTO((const char *, tree, enum tree_string_flags)); -static void dump_aggr_type PROTO((tree, enum tree_string_flags)); -static enum pad dump_type_prefix PROTO((tree, enum tree_string_flags)); -static void dump_type_suffix PROTO((tree, enum tree_string_flags)); -static void dump_function_name PROTO((tree, enum tree_string_flags)); -static void dump_expr_list PROTO((tree, enum tree_string_flags)); -static void dump_global_iord PROTO((tree)); -static enum pad dump_qualifiers PROTO((tree, enum pad)); -static void dump_char PROTO((int)); -static void dump_parameters PROTO((tree, enum tree_string_flags)); -static void dump_exception_spec PROTO((tree, enum tree_string_flags)); -static const char *aggr_variety PROTO((tree)); -static tree ident_fndecl PROTO((tree)); -static void dump_template_argument PROTO((tree, enum tree_string_flags)); -static void dump_template_argument_list PROTO((tree, enum tree_string_flags)); -static void dump_template_parameter PROTO((tree, enum tree_string_flags)); -static void dump_template_bindings PROTO((tree, tree)); -static void dump_scope PROTO((tree, enum tree_string_flags)); -static void dump_template_parms PROTO((tree, int, enum tree_string_flags)); +static const char *args_to_string PARAMS ((tree, int)); +static const char *assop_to_string PARAMS ((enum tree_code, int)); +static const char *code_to_string PARAMS ((enum tree_code, int)); +static const char *cv_to_string PARAMS ((tree, int)); +static const char *decl_to_string PARAMS ((tree, int)); +static const char *expr_to_string PARAMS ((tree, int)); +static const char *fndecl_to_string PARAMS ((tree, int)); +static const char *language_to_string PARAMS ((enum languages, int)); +static const char *op_to_string PARAMS ((enum tree_code, int)); +static const char *parm_to_string PARAMS ((int, int)); +static const char *type_to_string PARAMS ((tree, int)); + +static void dump_type PARAMS ((tree, enum tree_string_flags)); +static void dump_simple_decl PARAMS ((tree, tree, enum tree_string_flags)); +static void dump_decl PARAMS ((tree, enum tree_string_flags)); +static void dump_template_decl PARAMS ((tree, enum tree_string_flags)); +static void dump_function_decl PARAMS ((tree, enum tree_string_flags)); +static void dump_expr PARAMS ((tree, enum tree_string_flags)); +static void dump_unary_op PARAMS ((const char *, tree, enum tree_string_flags)); +static void dump_binary_op PARAMS ((const char *, tree, enum tree_string_flags)); +static void dump_aggr_type PARAMS ((tree, enum tree_string_flags)); +static enum pad dump_type_prefix PARAMS ((tree, enum tree_string_flags)); +static void dump_type_suffix PARAMS ((tree, enum tree_string_flags)); +static void dump_function_name PARAMS ((tree, enum tree_string_flags)); +static void dump_expr_list PARAMS ((tree, enum tree_string_flags)); +static void dump_global_iord PARAMS ((tree)); +static enum pad dump_qualifiers PARAMS ((tree, enum pad)); +static void dump_char PARAMS ((int)); +static void dump_parameters PARAMS ((tree, enum tree_string_flags)); +static void dump_exception_spec PARAMS ((tree, enum tree_string_flags)); +static const char *aggr_variety PARAMS ((tree)); +static tree ident_fndecl PARAMS ((tree)); +static void dump_template_argument PARAMS ((tree, enum tree_string_flags)); +static void dump_template_argument_list PARAMS ((tree, enum tree_string_flags)); +static void dump_template_parameter PARAMS ((tree, enum tree_string_flags)); +static void dump_template_bindings PARAMS ((tree, tree)); +static void dump_scope PARAMS ((tree, enum tree_string_flags)); +static void dump_template_parms PARAMS ((tree, int, enum tree_string_flags)); #define A args_to_string #define C code_to_string |