Added the parser for the rank command.
[pspp-builds.git] / src / aggregate.c
index 47c60f344c53fbbd660d28903695c2f2170dfad2..8fe168ecf78175581c92de4d50f4c3ba6bb0b144 100644 (file)
@@ -33,6 +33,7 @@
 #include "pool.h"
 #include "settings.h"
 #include "sfm-write.h"
+#include "sort-prs.h"
 #include "sort.h"
 #include "str.h"
 #include "var.h"
@@ -208,7 +209,7 @@ cmd_aggregate (void)
          lex_match ('=');
           agr.sort = sort_parse_criteria (default_dict,
                                           &agr.break_vars, &agr.break_var_cnt,
-                                          &saw_direction);
+                                          &saw_direction, NULL);
           if (agr.sort == NULL)
             goto error;