summaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-21 18:43:36 +0000
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-21 18:43:36 +0000
commitd39bc39842eaaed3ce7936d053aacc69ae0b569c (patch)
treec15ab1ce3537a5b975cc047847f3fbce89830f3c /gcc/cp/decl.c
parentbd494d23ce0b1b0c2073427e3be13d3e89ee164e (diff)
downloadgcc-d39bc39842eaaed3ce7936d053aacc69ae0b569c.tar.gz
Fix typo from a previous commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116305 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index b5b417fc668..f45459603ad 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -1124,7 +1124,7 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend)
about the same declaration, so just pretend the types match here. */
if (TREE_TYPE (newdecl) == error_mark_node
|| TREE_TYPE (olddecl) == error_mark_node)
- return error_mark_node.
+ return error_mark_node;
if (DECL_P (olddecl)
&& TREE_CODE (newdecl) == FUNCTION_DECL