X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2728ac7ecd663c4a60f94fe7ab7679a9e83ebcd0..3209eb1c4c5de8dd812e65da27df00c548f476fe:/src/AnnotationList.c diff --git a/src/AnnotationList.c b/src/AnnotationList.c index d756f5d2..8d0c7fed 100644 --- a/src/AnnotationList.c +++ b/src/AnnotationList.c @@ -1,6 +1,6 @@ /* IELR's inadequacy annotation list. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2015 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -541,9 +541,13 @@ AnnotationList__compute_from_inadequacies ( { InadequacyList__prependTo (conflict_node, &inadequacy_lists[s->number]); - aver (AnnotationList__insertInto ( - annotation_node, &annotation_lists[s->number], - s->nitems)); + { + bool b = + AnnotationList__insertInto (annotation_node, + &annotation_lists[s->number], + s->nitems); + aver (b); + } /* This aver makes sure the AnnotationList__computeDominantContribution check above does discard annotations in the simplest case of a S/R