cp-tree.h (compiler_error): Remove declaration.
* cp-tree.h (compiler_error): Remove declaration. * lex.c (compiler_error): Remove definition. From-SVN: r54644
This commit is contained in:
parent
182e515e72
commit
f7d3c5f005
3 changed files with 5 additions and 16 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-06-15 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||
|
||||
* cp-tree.h (compiler_error): Remove declaration.
|
||||
* lex.c (compiler_error): Remove definition.
|
||||
|
||||
2002-06-14 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* g++spec.c (LIBUNWIND): New.
|
||||
|
|
|
@ -4055,8 +4055,6 @@ extern tree copy_decl PARAMS ((tree));
|
|||
extern tree copy_type PARAMS ((tree));
|
||||
extern tree cxx_make_type PARAMS ((enum tree_code));
|
||||
extern tree make_aggr_type PARAMS ((enum tree_code));
|
||||
extern void compiler_error PARAMS ((const char *, ...))
|
||||
ATTRIBUTE_PRINTF_1;
|
||||
extern void yyerror PARAMS ((const char *));
|
||||
extern void yyhook PARAMS ((int));
|
||||
extern int cp_type_qual_from_rid PARAMS ((tree));
|
||||
|
|
14
gcc/cp/lex.c
14
gcc/cp/lex.c
|
@ -1596,20 +1596,6 @@ make_aggr_type (code)
|
|||
return t;
|
||||
}
|
||||
|
||||
void
|
||||
compiler_error VPARAMS ((const char *msg, ...))
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
VA_OPEN (ap, msg);
|
||||
VA_FIXEDARG (ap, const char *, msg);
|
||||
|
||||
vsprintf (buf, msg, ap);
|
||||
VA_CLOSE (ap);
|
||||
|
||||
error_with_file_and_line (input_filename, lineno, "%s (compiler error)", buf);
|
||||
}
|
||||
|
||||
/* Return the type-qualifier corresponding to the identifier given by
|
||||
RID. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue