aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-13 16:56:37 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-13 16:56:37 -0400
commit6b2a374b2c8e61473494128918520f01998f8165 (patch)
treeaf59faf90774f2b5cd4122ca7db715ebb28de7c1 /gcc
parentf1644e9a37d983fe117b6383f901a10ed37ec88e (diff)
downloadgcc-6b2a374b2c8e61473494128918520f01998f8165.zip
gcc-6b2a374b2c8e61473494128918520f01998f8165.tar.gz
gcc-6b2a374b2c8e61473494128918520f01998f8165.tar.bz2
(pop_label_level, combine_parm_decls): Correct args in error calls.
From-SVN: r4132
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 9241b3e..fefce72 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1158,8 +1158,8 @@ pop_label_level ()
{
if (DECL_SOURCE_LINE (TREE_VALUE (link)) == 0)
{
- error_with_decl ("label `%s' used but not defined",
- TREE_VALUE (link));
+ error_with_decl (TREE_VALUE (link),
+ "label `%s' used but not defined");
/* Avoid crashing later. */
define_label (input_filename, lineno,
DECL_NAME (TREE_VALUE (link)));
@@ -6210,7 +6210,7 @@ combine_parm_decls (specparms, parmlist, void_at_end)
DECL_ARG_TYPE (found) = TREE_TYPE (found);
DECL_SOURCE_LINE (found) = DECL_SOURCE_LINE (fndecl);
DECL_SOURCE_FILE (found) = DECL_SOURCE_FILE (fndecl);
- error (found, "type of parameter `%s' is not declared");
+ error_with_decl (found, "type of parameter `%s' is not declared");
pushdecl (found);
}