expressions: Reword error message upon use of unimplemented function.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 4 May 2014 17:35:04 +0000 (10:35 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 4 May 2014 17:35:04 +0000 (10:35 -0700)
Some users found the previous wording confusing.  This wording suggested
by John Darrington <john@darrington.wattle.id.au>.

See discussion at:
http://lists.gnu.org/archive/html/pspp-users/2014-05/msg00004.html

src/language/expressions/parse.c

index b2c2cf8e2fa751a7df30520b4f4d63a06571c35b..0e5f6abbb6323514c3b349f845a962caaacdbbe3 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2006, 2010, 2011, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2006, 2010, 2011, 2012, 2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -1292,7 +1292,8 @@ parse_function (struct lexer *lexer, struct expression *e)
     msg (SW, _("%s is a PSPP extension."), f->prototype);
   if (f->flags & OPF_UNIMPLEMENTED)
     {
-      msg (SE, _("%s is not yet implemented."), f->prototype);
+      msg (SE, _("%s is not available in this version of PSPP."),
+           f->prototype);
       goto fail;
     }
   if ((f->flags & OPF_PERM_ONLY) &&