Mercurial > hg > octave-nkf
diff scripts/deprecated/intwarning.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | d5bd2766c640 |
line wrap: on
line diff
--- a/scripts/deprecated/intwarning.m +++ b/scripts/deprecated/intwarning.m @@ -38,7 +38,7 @@ ## The state of warning "Octave:int-convert-overflow" is "off" ## The state of warning "Octave:int-math-overflow" is "off" ## @end group -## @end smallexample +## @end smallexample ## ## @item "on" ## @itemx "off" @@ -101,8 +101,8 @@ elseif (strcmpi (x, "off")) warning ("off", "Octave:int-convert-nan"); warning ("off", "Octave:int-convert-non-int-val"); - warning ("off", "Octave:int-convert-overflow"); - warning ("off", "Octave:int-math-overflow"); + warning ("off", "Octave:int-convert-overflow"); + warning ("off", "Octave:int-math-overflow"); else error ("intwarning: unrecognized argument"); endif @@ -128,6 +128,6 @@ endfunction function __print_int_warn_state__ (s) - fprintf ("The state of warning \"%s\" is \"%s\"\n", + fprintf ("The state of warning \"%s\" is \"%s\"\n", s, warning ("query", s).state); endfunction