summaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-15 12:38:04 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-15 12:38:04 +0000
commitc838fbd9db68b85656198e796d215ead57c8c7e3 (patch)
tree14b9af9c6cd5fbe1da15d34356b3ec3ecb533f5a /gcc/cp/lex.c
parent24a94ef66e5a16e78bbb8e9c56992b39db05c15c (diff)
downloadgcc-c838fbd9db68b85656198e796d215ead57c8c7e3.tar.gz
* cp-tree.h (compiler_error): Remove declaration.
* lex.c (compiler_error): Remove definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54644 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index dad7df6d3b0..6c5112a34d0 100644
--- a/gcc/cp/lex.c
+++ b/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. */