Mercurial > jwe > octave
changeset 21992:03c692adf563
maint: strip trailing whitespace from files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Jun 2016 09:21:50 -0400 |
parents | 80659e58609f |
children | a937963aacc9 |
files | libinterp/corefcn/file-io.cc libinterp/corefcn/graphics.in.h libinterp/corefcn/load-path.cc libinterp/corefcn/sighandlers.cc libinterp/corefcn/symtab.cc liboctave/wrappers/signal-wrappers.h |
diffstat | 6 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc Wed Jun 29 11:51:42 2016 -0400 +++ b/libinterp/corefcn/file-io.cc Wed Jun 29 09:21:50 2016 -0400 @@ -1402,7 +1402,7 @@ Specify parts of the input which are considered comments and will be skipped. @var{value} is the comment style and can be either (1) A string or 1x1 cell string, to skip everything to the right of it; (2) A cell array -of two strings, to skip everything between the first and second strings. +of two strings, to skip everything between the first and second strings. Comments are only parsed where whitespace is accepted and do not act as delimiters.
--- a/libinterp/corefcn/graphics.in.h Wed Jun 29 11:51:42 2016 -0400 +++ b/libinterp/corefcn/graphics.in.h Wed Jun 29 09:21:50 2016 -0400 @@ -3409,7 +3409,7 @@ radio_property renderer m , "{opengl}|painters" radio_property renderermode , "{auto}|manual" bool_property resize , "on" - // FIXME: resizefcn has been deprecated by Matlab, and + // FIXME: resizefcn has been deprecated by Matlab, and // replaced with sizechangedfcn // Eventually this will need to be hidden, and then removed. callback_property resizefcn , Matrix () @@ -3439,7 +3439,7 @@ // Obsolete properties: doublebuffer, mincolormap, wvisual, wvisualmode, // xdisplay, xvisual, xvisualmode - // FIXME: Remove in version 4.6 + // FIXME: Remove in version 4.6 bool_property doublebuffer h , "on" double_property mincolormap h , 64 string_property wvisual hm , ""
--- a/libinterp/corefcn/load-path.cc Wed Jun 29 11:51:42 2016 -0400 +++ b/libinterp/corefcn/load-path.cc Wed Jun 29 09:21:50 2016 -0400 @@ -2465,7 +2465,7 @@ { std::string dir = p; - // Remove duplicate directory separators + // Remove duplicate directory separators dir.erase (std::unique (dir.begin (), dir.end (), [](char l, char r) {
--- a/libinterp/corefcn/sighandlers.cc Wed Jun 29 11:51:42 2016 -0400 +++ b/libinterp/corefcn/sighandlers.cc Wed Jun 29 09:21:50 2016 -0400 @@ -596,7 +596,7 @@ if (octave_get_sig_number (signame, &signum)) m.assign (&signame[3], signum); } - + static octave_scalar_map make_sig_struct (void) {
--- a/libinterp/corefcn/symtab.cc Wed Jun 29 11:51:42 2016 -0400 +++ b/libinterp/corefcn/symtab.cc Wed Jun 29 09:21:50 2016 -0400 @@ -1876,34 +1876,34 @@ } // FIXME: should we have functions like this in Octave? -// +// // DEFUN (set_variable, args, , "set_variable (NAME, VALUE)") // { // if (args.length () != 2) // print_usage (); -// +// // std::string name = args(0).xstring_value ("set_variable: variable NAME must be a string"); -// +// // symbol_table::assign (name, args(1)); -// +// // return ovl (); // } -// +// // DEFUN (variable_value, args, , "VALUE = variable_value (NAME)") // { // if (args.length () != 1) // print_usage (); -// +// // octave_value retval; -// +// // std::string name = args(0).xstring_value ("variable_value: variable NAME must be a string"); -// +// // retval = symbol_table::varval (name); -// +// // if (retval.is_undefined ()) // error ("variable_value: '%s' is not a variable in the current scope", // name.c_str ()); -// +// // return retval; // }
--- a/liboctave/wrappers/signal-wrappers.h Wed Jun 29 11:51:42 2016 -0400 +++ b/liboctave/wrappers/signal-wrappers.h Wed Jun 29 09:21:50 2016 -0400 @@ -40,7 +40,7 @@ extern char *octave_strsignal_wrapper (int signum); extern bool octave_have_kill (void); - + extern bool octave_get_sig_number (const char *signame, int *signum); extern octave_sig_handler *