aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLee Millward <lmillward@gcc.gnu.org>2006-08-21 18:43:36 +0000
committerLee Millward <lmillward@gcc.gnu.org>2006-08-21 18:43:36 +0000
commitdc5395cc64eb313a6ca233f74642064a862b5aae (patch)
treec15ab1ce3537a5b975cc047847f3fbce89830f3c /gcc
parent34302d13ea0dd4cc2fa0e7a8f84ca780e1355751 (diff)
downloadgcc-dc5395cc64eb313a6ca233f74642064a862b5aae.zip
gcc-dc5395cc64eb313a6ca233f74642064a862b5aae.tar.gz
gcc-dc5395cc64eb313a6ca233f74642064a862b5aae.tar.bz2
Fix typo from a previous commit
From-SVN: r116305
Diffstat (limited to 'gcc')
-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 b5b417f..f454596 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