output: Add support for captions.
[pspp] / src / language / data-io / list.c
index 4a9424d2f90d6488fc3e9ce6dadb4f5e973611d9..153c204f219c780ec3b94ef92dbb18146aee20d8 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 1997-9, 2000, 2006, 2009-2011, 2013 Free Software Foundation, Inc.
+   Copyright (C) 1997-9, 2000, 2006, 2009-2011, 2013, 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
@@ -56,9 +56,9 @@ enum numbering
 
 struct lst_cmd
 {
-  int first;
-  int last;
-  int step;
+  long first;
+  long last;
+  long step;
   const struct variable **v_variables;
   size_t n_variables;
   enum numbering numbering;
@@ -128,7 +128,7 @@ list_execute (const struct lst_cmd *lcmd, struct dataset *ds)
 
       casereader_destroy (group);
 
-      table_item_submit (table_item_create (t, "Data List"));
+      table_item_submit (table_item_create (t, "Data List", NULL));
     }
   ok = casegrouper_destroy (grouper);
   ok = proc_commit (ds) && ok;