Mercurial > hg > octave-max
changeset 2179:45052dc60643
[project @ 1996-05-13 17:21:52 by jwe]
author | jwe |
---|---|
date | Mon, 13 May 1996 17:22:29 +0000 |
parents | 90d5f2aabd46 |
children | b087e5e62bec |
files | src/pt-const.h src/pt-fvc.cc |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -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 /*
--- a/src/pt-fvc.cc +++ b/src/pt-fvc.cc @@ -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");