Mercurial > octave
changeset 27983:44a019d01aa5 stable
fix more spelling errors (bug #57613)
* file-editor-tab.cc, interpreter.h, octave-link.cc, lex.h, paren.m, perl.m,
print.m: Fix spelling errors found by codespell.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Tue, 21 Jan 2020 13:33:02 -0800 |
parents | 6628a284d56d |
children | ab22056e8c1f f4b6b170a761 |
files | libgui/src/m-editor/file-editor-tab.cc libinterp/corefcn/interpreter.h libinterp/corefcn/octave-link.cc libinterp/parse-tree/lex.h scripts/deprecated/paren.m scripts/miscellaneous/perl.m scripts/plot/util/print.m |
diffstat | 7 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc Mon Jan 20 14:16:49 2020 -0800 +++ b/libgui/src/m-editor/file-editor-tab.cc Tue Jan 21 13:33:02 2020 -0800 @@ -618,7 +618,7 @@ else { // Otherwise, delete the newly created lexer and - // use the old, exisiting one + // use the old, existing one if (lexer) delete lexer; } @@ -724,7 +724,7 @@ if (_is_octave_file) { - // octave: get keywords from internal informations depending on + // octave: get keywords from internal information depending on // user preferences // keywords are always used
--- a/libinterp/corefcn/interpreter.h Mon Jan 20 14:16:49 2020 -0800 +++ b/libinterp/corefcn/interpreter.h Tue Jan 21 13:33:02 2020 -0800 @@ -97,7 +97,7 @@ void initialize_history (bool read_history_file = false); // If creating an embedded interpreter, you may inhibit setting - // the default compiled-in path by calling intialize_load_path + // the default compiled-in path by calling initialize_load_path // with set_initial_path = false prior calling initialize. After // that, you can add directories to the load path to set up a // custom path. @@ -109,7 +109,7 @@ void initialize (void); // Initialize the interpreter (if not already done by an explicit - // call to intialize), execute startup files, --eval option code, + // call to initialize), execute startup files, --eval option code, // script files, and/or interactive commands. int execute (void);
--- a/libinterp/corefcn/octave-link.cc Mon Jan 20 14:16:49 2020 -0800 +++ b/libinterp/corefcn/octave-link.cc Tue Jan 21 13:33:02 2020 -0800 @@ -251,7 +251,7 @@ DEFUN (__octave_link_list_dialog__, args, , doc: /* -*- texinfo -*- -@deftypefn {} {} __octave_link_list_dialog__ (@var{list}, @var{mode}, @var{size}, @var{intial}, @var{name}, @var{prompt}, @var{ok_string}, @var{cancel_string}) +@deftypefn {} {} __octave_link_list_dialog__ (@var{list}, @var{mode}, @var{size}, @var{initial}, @var{name}, @var{prompt}, @var{ok_string}, @var{cancel_string}) Undocumented internal function. @end deftypefn */) {
--- a/libinterp/parse-tree/lex.h Mon Jan 20 14:16:49 2020 -0800 +++ b/libinterp/parse-tree/lex.h Tue Jan 21 13:33:02 2020 -0800 @@ -500,7 +500,7 @@ // base_lexer inherits from lexical_feedback because we will // eventually have several different constructors and it is easier to - // intialize if everything is grouped in a parent class rather than + // initialize if everything is grouped in a parent class rather than // listing all the members in the base_lexer class. class
--- a/scripts/deprecated/paren.m Mon Jan 20 14:16:49 2020 -0800 +++ b/scripts/deprecated/paren.m Tue Jan 21 13:33:02 2020 -0800 @@ -19,7 +19,7 @@ ## -*- texinfo -*- ## @deftypefn {} {} ( ## @deftypefnx {} {} ) -## Array index or function argument delimeter. +## Array index or function argument delimiter. ## @end deftypefn
--- a/scripts/miscellaneous/perl.m Mon Jan 20 14:16:49 2020 -0800 +++ b/scripts/miscellaneous/perl.m Tue Jan 21 13:33:02 2020 -0800 @@ -31,7 +31,7 @@ function [output, status] = perl (scriptfile = "-e ''", varargin) - ## VARARGIN is intialized to {}(1x0) if no additional arguments are + ## VARARGIN is initialized to {}(1x0) if no additional arguments are ## supplied, so there is no need to check for it, or provide an ## initial value in the argument list of the function definition.
--- a/scripts/plot/util/print.m Mon Jan 20 14:16:49 2020 -0800 +++ b/scripts/plot/util/print.m Tue Jan 21 13:33:02 2020 -0800 @@ -1063,7 +1063,7 @@ if (isempty (opts.svgconvert_binary)) warning ("octave:print:nosvgconvert", ... ["print.m: unale to find octave-svgconvert, ", ... - "falling back to eps convertion"]); + "falling back to eps conversion"]); else fontdir = getenv ("OCTAVE_FONTS_DIR");