From: Taylor R. Campbell Date: Thu, 3 Aug 2006 04:00:12 +0000 (+0000) Subject: Update the size of parse states according to the recently added field, X-Git-Tag: 20090517-FFI~960 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=0e3d004b3be5e6af3d0815ca17ac53a55c6f2e70;p=mit-scheme.git Update the size of parse states according to the recently added field, so that we don't write off the end of the vector's storage. --- diff --git a/v7/src/microcode/syntax.c b/v7/src/microcode/syntax.c index d2b373851..ab726e202 100644 --- a/v7/src/microcode/syntax.c +++ b/v7/src/microcode/syntax.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: syntax.c,v 1.32 2006/07/03 19:28:03 riastradh Exp $ +$Id: syntax.c,v 1.33 2006/08/03 04:00:12 riastradh Exp $ Copyright 1987,1988,1989,1991,1993,1996 Massachusetts Institute of Technology Copyright 2000,2004,2005,2006 Massachusetts Institute of Technology @@ -1038,7 +1038,7 @@ DEFINE_PRIMITIVE ("SCAN-SEXPS-FORWARD", Prim_scan_sexps_forward, 7, 7, 0) start -= 1; done: - result = (allocate_marked_vector (TC_VECTOR, 8, true)); + result = (allocate_marked_vector (TC_VECTOR, 9, true)); FAST_VECTOR_SET (result, 0, (LONG_TO_FIXNUM (depth))); FAST_VECTOR_SET (result, 1,