# HG changeset patch # User jwe # Date 832008149 0 # Node ID 45052dc60643e002921ce6a32b851a98f1ca8386 # Parent 90d5f2aabd4619b52d7a7cffea1c36cd000fbe7e [project @ 1996-05-13 17:21:52 by jwe] diff -r 90d5f2aabd46 -r 45052dc60643 src/pt-const.h --- a/src/pt-const.h Mon May 13 16:48:52 1996 +0000 +++ b/src/pt-const.h Mon May 13 17:22:29 1996 +0000 @@ -691,6 +691,10 @@ bool print_as_structure (void) { return rep->print_as_structure (); } }; +extern int Vresize_on_range_error; + +void symbols_of_pt_const (void); + #endif /* diff -r 90d5f2aabd46 -r 45052dc60643 src/pt-fvc.cc --- a/src/pt-fvc.cc Mon May 13 16:48:52 1996 +0000 +++ b/src/pt-fvc.cc Mon May 13 17:22:29 1996 +0000 @@ -183,7 +183,7 @@ { assert (! sym->is_defined ()); - if (! user_pref.resize_on_range_error) + if (! Vresize_on_range_error) { ::error ("indexed assignment to previously undefined variables"); ::error ("is only possible when resize_on_range_error is true"); @@ -260,7 +260,7 @@ { assert (! sym->is_defined ()); - if (! user_pref.resize_on_range_error) + if (! Vresize_on_range_error) { ::error ("indexed assignment to previously undefined variables"); ::error ("is only possible when resize_on_range_error is true");