]> git.saurik.com Git - bison.git/blobdiff - src/LR0.c
Regenerate.
[bison.git] / src / LR0.c
index 1e3973244ad38428cddd7a4d6dc403f3efed88ea..43030fc5ba739c0a1a52724d5f9d7e7f53e80a72 100644 (file)
--- a/src/LR0.c
+++ b/src/LR0.c
@@ -17,8 +17,8 @@
 
    You should have received a copy of the GNU General Public License
    along with Bison; see the file COPYING.  If not, write to
-   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 
 /* See comments in state.h for the data structures that represent it.
@@ -183,8 +183,7 @@ new_itemsets (state *s)
   if (trace_flag & trace_automaton)
     fprintf (stderr, "Entering new_itemsets, state = %d\n", s->number);
 
-  for (i = 0; i < nsyms; i++)
-    kernel_size[i] = 0;
+  memset (kernel_size, 0, nsyms * sizeof *kernel_size);
 
   nshifts = 0;