#include <language/dictionary/split-file.h>
#include <language/data-io/file-handle.h>
#include <language/lexer/lexer.h>
-#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
#include <libpspp/message.h>
#include <math/design-matrix.h>
#include <math/moments.h>
#include <output/table.h>
+#include "xalloc.h"
#include "gettext.h"
#define GLM_LARGE_DATA 1000
*/
static size_t n_dependent;
+#if 0
/*
Return value for the procedure.
*/
static int pspp_glm_rc = CMD_SUCCESS;
+#else
+int cmd_glm (struct lexer *lexer, struct dataset *ds);
+#endif
static bool run_glm (struct casereader*,
struct cmd_glm *,
assert (model != NULL);
if (!casereader_peek (input, 0, &c))
- return true;
+ {
+ casereader_destroy (input);
+ return true;
+ }
output_split_file_values (ds, &c);
case_destroy (&c);