# HG changeset patch # User jwe # Date 1025553483 0 # Node ID 47972b28e85e7604dfcf3354f7001cd09c2e2e1c # Parent cef0ea4d1b3abe3dd394e76de1b895a3e36bbf4b [project @ 2002-07-01 19:58:03 by jwe] diff -r cef0ea4d1b3a -r 47972b28e85e src/ChangeLog --- a/src/ChangeLog Mon Jul 01 19:16:01 2002 +0000 +++ b/src/ChangeLog Mon Jul 01 19:58:03 2002 +0000 @@ -1,10 +1,14 @@ 2002-07-01 John W. Eaton + * oct-stream.cc (printf_value_cache::double_value): If the current + element is empty and there are no more elements in the value list, + set curr_state to conversion_error. + * input.cc (initialize_command_input): Include (, ), {, and } as word break characters. * variables.cc (looks_like_struct): Don't evaluate text if it is a - function. + function. From Ben Sapp . * symtab.h (symbol_record::is_function): Also return true if symbol is a text function or a mapper function. diff -r cef0ea4d1b3a -r 47972b28e85e src/oct-stream.cc --- a/src/oct-stream.cc Mon Jul 01 19:16:01 2002 +0000 +++ b/src/oct-stream.cc Mon Jul 01 19:58:03 2002 +0000 @@ -2124,6 +2124,10 @@ { val_idx++; data = 0; + + if (n_elts == 0 && exhausted ()) + curr_state = conversion_error; + continue; } }