aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2006-04-22 01:23:09 +0000
committerEric Christopher <echristo@gcc.gnu.org>2006-04-22 01:23:09 +0000
commitd1c788827fae72b7119230a1963d41d5655b3824 (patch)
treeb2c43279918e6cfbb7f06ce194472ec644d9e7b4 /gcc/cp/decl.c
parent37073529315668ac41eca8c137b03eed6293dfab (diff)
downloadgcc-d1c788827fae72b7119230a1963d41d5655b3824.zip
gcc-d1c788827fae72b7119230a1963d41d5655b3824.tar.gz
gcc-d1c788827fae72b7119230a1963d41d5655b3824.tar.bz2
decl.c: Fix typo in function name.
2006-04-21 Eric Christopher <echristo@apple.com> * decl.c: Fix typo in function name. 2006-04-21 Eric Christopher <echristo@apple.com> * df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos in comments and function names. From-SVN: r113167
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 215371a..e98a6f1 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6770,7 +6770,7 @@ grokdeclarator (const cp_declarator *declarator,
int explicit_int = 0;
int explicit_char = 0;
int defaulted_int = 0;
- tree dependant_name = NULL_TREE;
+ tree dependent_name = NULL_TREE;
tree typedef_decl = NULL_TREE;
const char *name = NULL;
@@ -7250,9 +7250,9 @@ grokdeclarator (const cp_declarator *declarator,
}
friendp = !! declspecs->specs[(int)ds_friend];
- if (dependant_name && !friendp)
+ if (dependent_name && !friendp)
{
- error ("%<%T::%D%> is not a valid declarator", ctype, dependant_name);
+ error ("%<%T::%D%> is not a valid declarator", ctype, dependent_name);
return void_type_node;
}