aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-09-22 10:51:42 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-09-22 10:51:42 +0000
commit0e64e323b0a71f96919613619e2dd4176226d653 (patch)
treefb77e0a9ae4a84641c039f1b852449e4f355916e /gcc/java/parse.y
parente1aeeae90eceed7dff8fb37292df258456f6fdd7 (diff)
downloadgcc-0e64e323b0a71f96919613619e2dd4176226d653.zip
gcc-0e64e323b0a71f96919613619e2dd4176226d653.tar.gz
gcc-0e64e323b0a71f96919613619e2dd4176226d653.tar.bz2
vec.h (VEC_space): Return true if there _is_ space.
* vec.h (VEC_space): Return true if there _is_ space. (VEC_reserve): Adjust. * java/parse.y (patch_anonymous_class): VEC_space returns true if there is space. From-SVN: r87852
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 377c195..b221a4c 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -3904,7 +3904,7 @@ patch_anonymous_class (tree type_decl, tree class_decl, tree wfl)
if (parser_check_super_interface (type_decl, class_decl, wfl))
return;
- if (VEC_space (tree, BINFO_BASE_BINFOS (binfo), 1))
+ if (!VEC_space (tree, BINFO_BASE_BINFOS (binfo), 1))
{
/* Extend the binfo - by reallocating and copying it. */
tree new_binfo;