X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e141f4d4bb6584bfbf13003047a2e48e9a6eab6a..c850546ab3b95eec9a38938440798d6d4e916fae:/lib/bitsetv.c?ds=sidebyside diff --git a/lib/bitsetv.c b/lib/bitsetv.c index 3a082794..4710ac54 100644 --- a/lib/bitsetv.c +++ b/lib/bitsetv.c @@ -1,5 +1,6 @@ /* Bitset vectors. - Copyright (C) 2001-2002, 2004-2006, 2009-2010 Free Software + + Copyright (C) 2001-2002, 2004-2006, 2009-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -26,7 +27,7 @@ type TYPE. */ bitset * bitsetv_alloc (bitset_bindex n_vecs, bitset_bindex n_bits, - enum bitset_type type) + enum bitset_type type) { size_t vector_bytes; size_t bytes; @@ -115,7 +116,7 @@ bitsetv_transitive_closure (bitsetv bsetv) for (i = 0; bsetv[i]; i++) for (j = 0; bsetv[j]; j++) if (bitset_test (bsetv[j], i)) - bitset_or (bsetv[j], bsetv[j], bsetv[i]); + bitset_or (bsetv[j], bsetv[j], bsetv[i]); } @@ -138,7 +139,7 @@ bitsetv_reflexive_transitive_closure (bitsetv bsetv) FILE. */ void bitsetv_dump (FILE *file, char const *title, char const *subtitle, - bitsetv bsetv) + bitsetv bsetv) { bitset_windex i;