Mercurial > octave-dspies
diff src/parse.y @ 3347:3cfec93fd0ef
[project @ 1999-11-10 23:09:10 by jwe]
author | jwe |
---|---|
date | Wed, 10 Nov 1999 23:09:12 +0000 |
parents | 2efa28a91e7a |
children | 8623649c967c |
line wrap: on
line diff
--- a/src/parse.y Tue Nov 09 18:18:37 1999 +0000 +++ b/src/parse.y Wed Nov 10 23:09:12 1999 +0000 @@ -91,10 +91,6 @@ // should only produce output using explicit printing statements. static bool Vwarn_missing_semicolon; -// TRUE means we print a warning if reloading a .oct file forces other -// functions to be cleared. -static bool Vwarn_reload_forces_clear; - // Temporary symbol table pointer used to cope with bogus function syntax. symbol_table *tmp_local_sym_tab = 0; @@ -3297,14 +3293,6 @@ } static int -warn_reload_forces_clear (void) -{ - Vwarn_reload_forces_clear = check_preference ("warn_reload_forces_clear"); - - return 0; -} - -static int warn_variable_switch_label (void) { Vwarn_variable_switch_label @@ -3333,11 +3321,9 @@ "produce a warning if a statement in a function file is not\n\ terminated with a semicolon"); - DEFVAR (warn_reload_forces_clear, 1.0, warn_reload_forces_clear, - "warn if reloading a .oct file forces other functions to be cleared"); - DEFVAR (warn_variable_switch_label, 0.0, warn_variable_switch_label, "produce warning for variables used as switch labels"); + } /*