Mercurial > hg > octave-lyh
comparison src/variables.cc @ 4452:f3c21a1d1c62
[project @ 2003-07-09 23:20:18 by jwe]
author | jwe |
---|---|
date | Wed, 09 Jul 2003 23:20:19 +0000 |
parents | 4cc739e3cbd8 |
children | 8952973c6837 |
comparison
equal
deleted
inserted
replaced
4451:ea1d3e1a4b1b | 4452:f3c21a1d1c62 |
---|---|
437 { | 437 { |
438 int parse_status; | 438 int parse_status; |
439 | 439 |
440 unwind_protect::begin_frame ("generate_struct_completions"); | 440 unwind_protect::begin_frame ("generate_struct_completions"); |
441 | 441 |
442 unwind_protect_str (Vwarning_option); | 442 unwind_protect_int (error_state); |
443 unwind_protect_int (warning_state); | |
444 | |
443 unwind_protect_bool (discard_error_messages); | 445 unwind_protect_bool (discard_error_messages); |
444 unwind_protect_int (error_state); | 446 unwind_protect_bool (discard_warning_messages); |
445 | 447 |
446 Vwarning_option = "off"; | |
447 discard_error_messages = true; | 448 discard_error_messages = true; |
449 discard_warning_messages = true; | |
448 | 450 |
449 octave_value tmp = eval_string (prefix, true, parse_status); | 451 octave_value tmp = eval_string (prefix, true, parse_status); |
450 | 452 |
451 unwind_protect::run_frame ("generate_struct_completions"); | 453 unwind_protect::run_frame ("generate_struct_completions"); |
452 | 454 |