diff options
author | David S. Miller <davem@nadzieja.rutgers.edu> | 1995-01-25 14:56:36 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-01-25 14:56:36 -0500 |
commit | db6f8fbebeb8f0a8e7429c3403b9cbf5270bbefd (patch) | |
tree | fa77da4743a74ba6f86225e130718cf77485c2a5 | |
parent | 43b55a678ac7ed97057ced5e1755c51b14f425b8 (diff) | |
download | gcc-db6f8fbebeb8f0a8e7429c3403b9cbf5270bbefd.zip gcc-db6f8fbebeb8f0a8e7429c3403b9cbf5270bbefd.tar.gz gcc-db6f8fbebeb8f0a8e7429c3403b9cbf5270bbefd.tar.bz2 |
(instantiate_type): Change error message text.
From-SVN: r8816
-rw-r--r-- | gcc/cp/class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 8076406..51bc827 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -1,5 +1,5 @@ /* Functions related to building classes and their related objects. - Copyright (C) 1987, 1992, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1987, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) This file is part of GNU CC. @@ -307,7 +307,7 @@ build_vbase_path (code, type, expr, path, alias_this) function, then it could be 0 on entry to any function. Preserve such zeroness here. Otherwise, only in the case of constructors need we worry, and in those cases, - it will be zero, or initialized to some legal value to + it will be zero, or initialized to some valid value to which we may add. */ if (nonnull == 0 && (alias_this == 0 || flag_this_is_variable > 0)) { @@ -4982,7 +4982,7 @@ instantiate_type (lhstype, rhs, complain) case POSTINCREMENT_EXPR: case POSTDECREMENT_EXPR: if (complain) - error ("illegal operation on uninstantiated type"); + error ("invalid operation on uninstantiated type"); return error_mark_node; case TRUTH_AND_EXPR: |