Fix typo from a previous commit
authorLee Millward <lmillward@gcc.gnu.org>
Mon, 21 Aug 2006 18:43:36 +0000 (18:43 +0000)
committerLee Millward <lmillward@gcc.gnu.org>
Mon, 21 Aug 2006 18:43:36 +0000 (18:43 +0000)
From-SVN: r116305

gcc/cp/decl.c

index b5b417fc6688d43afab7832b20d42048ce5f7452..f45459603ad5ac62dcec2027e5126a5e99ce6bc3 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