Mercurial > octave-nkf
diff libinterp/corefcn/error.cc @ 18128:4a4897cd6da1 gui-release
maint: Periodic merge of stable to gui-release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Dec 2013 22:22:28 -0500 |
parents | d96747f74b1e 25e87795f437 |
children | e473c4853afc |
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc Wed Dec 11 20:58:30 2013 -0500 +++ b/libinterp/corefcn/error.cc Wed Dec 11 22:22:28 2013 -0500 @@ -1644,12 +1644,7 @@ disable_warning ("Octave:variable-switch-label"); // This should be an error unless we are in maximum braindamage mode. - // FIXME: Not quite right. This sets the error state even for braindamage - // mode. Also, this error is not triggered in normal mode because another - // error handler catches it first and gives: - // error: subscript indices must be either positive integers or logicals set_warning_state ("Octave:noninteger-range-as-index", "error"); - } DEFUN (lasterror, args, ,