Mercurial > octave
diff libinterp/corefcn/pr-output.cc @ 25646:4d565baa475e
move libinterp/utils functions inside octave namespace
* utils.h, utils.cc: Move functions inside octave namespace.
Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 19 Jul 2018 16:55:47 -0400 |
parents | e8961d677661 |
children | 3fc9d7453ba6 |
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.cc Thu Jul 19 20:11:31 2018 -0700 +++ b/libinterp/corefcn/pr-output.cc Thu Jul 19 16:55:47 2018 -0400 @@ -2664,7 +2664,7 @@ if (pr_as_read_syntax) { - os << '"' << undo_string_escapes (row) << '"'; + os << '"' << octave::undo_string_escapes (row) << '"'; if (i < nstr - 1) os << "; "; @@ -3482,7 +3482,7 @@ // disp is done. bool print_newlines = false; - if (valid_identifier (name)) + if (octave::valid_identifier (name)) print_newlines = value.print_name_tag (octave_stdout, name); // Use feval so that dispatch will also work for disp.