Update to-do list.
[pspp-builds.git] / src / language / stats / rank.q
index dc0b9ddd8969276097569a7015a7da8f2192f0b0..dcd7dae60106c4be66e8c81c8185e4cc03f2e640 100644 (file)
@@ -20,11 +20,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
 #include <config.h>
 #include <language/command.h>
+#include <language/stats/sort-criteria.h>
 #include <libpspp/compiler.h>
 #include <data/dictionary.h>
 #include <math/sort.h>
 #include <data/variable.h>
 
+#include "sort-criteria.h"
+
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
@@ -239,12 +242,12 @@ parse_rank_function(struct cmd_rank *cmd UNUSED, enum RANK_FUNC f)
          ++var_count;
          if ( dict_lookup_var (default_dict, tokid) != NULL )
            {
-             msg(ME, _("Variable %s already exists."), tokid);
+             msg(SE, _("Variable %s already exists."), tokid);
              return 0;
            }
          if ( var_count > sc->crit_cnt ) 
            {
-             msg(ME, _("Too many variables in INTO clause."));
+             msg(SE, _("Too many variables in INTO clause."));
              return 0;
            }