Mercurial > hg > octave-lyh
diff src/error.cc @ 6427:38df68789f30
[project @ 2007-03-21 18:30:52 by jwe]
author | jwe |
---|---|
date | Wed, 21 Mar 2007 18:30:52 +0000 |
parents | 776e657c9422 |
children | d00da2148c53 |
line wrap: on
line diff
--- a/src/error.cc +++ b/src/error.cc @@ -1152,7 +1152,7 @@ } if (done && nargout > 0) - retval = warning_options; + retval = old_warning_options; } else if (arg1 == "query") { @@ -1245,7 +1245,7 @@ Octave_map m = arg.map_value (); if (m.contains ("identifier") && m.contains ("state")) - warning ("warning: setting state with structure not implemented"); + warning_options = m; else error ("warning: expecting structure with fields `identifier' and `state'");