OSDN Git Service

Fix typo from a previous commit
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Aug 2006 18:43:36 +0000 (18:43 +0000)
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Aug 2006 18:43:36 +0000 (18:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116305 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/decl.c

index b5b417f..f454596 100644 (file)
@@ -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