X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/38609c34559fb86f2fb827dfed929ba9c396dc6f..c932d6135ca3e508f7136810b9b0bf79725290b9:/lib/lbitset.c diff --git a/lib/lbitset.c b/lib/lbitset.c index 81e934e6..7d204f0e 100644 --- a/lib/lbitset.c +++ b/lib/lbitset.c @@ -1,6 +1,8 @@ /* Functions to support link list bitsets. - Copyright (C) 2002, 2003, 2004, 2006, 2009 Free Software Foundation, + + Copyright (C) 2002-2004, 2006, 2009-2012 Free Software Foundation, Inc. + Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). This program is free software: you can redistribute it and/or modify @@ -934,17 +936,12 @@ lbitset_ones (bitset dst) static void lbitset_not (bitset dst, bitset src) { - lbitset_elt *elt; lbitset_elt *selt; lbitset_elt *delt; bitset_windex i; unsigned int j; bitset_windex windex; - /* This is another unfriendly operation for a linked list - bitset! */ - elt = LBITSET_TAIL (dst); - windex = (BITSET_SIZE_ (dst) + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS; for (i = 0; i < windex; i += LBITSET_ELT_WORDS)