changeset 24218:3d26a174e143

* variables.cc (extract_function): Omit 'first' from error message.
author John W. Eaton <jwe@octave.org>
date Wed, 08 Nov 2017 18:46:24 -0500
parents 2391bd89adf8
children 3d96400df713
files libinterp/corefcn/variables.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/variables.cc	Wed Nov 08 18:45:09 2017 -0500
+++ b/libinterp/corefcn/variables.cc	Wed Nov 08 18:46:24 2017 -0500
@@ -132,7 +132,7 @@
 
   if (! retval)
     {
-      std::string s = arg.xstring_value ("%s: first argument must be a string",
+      std::string s = arg.xstring_value ("%s: argument must be a string",
                                          warn_for.c_str ());
 
       std::string cmd = header;