diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-15 12:38:04 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-15 12:38:04 +0000 |
commit | c838fbd9db68b85656198e796d215ead57c8c7e3 (patch) | |
tree | 14b9af9c6cd5fbe1da15d34356b3ec3ecb533f5a /gcc/cp/lex.c | |
parent | 24a94ef66e5a16e78bbb8e9c56992b39db05c15c (diff) | |
download | gcc-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.c | 14 |
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. */ |