regression_trns_proc accepts an int as the third arg
[pspp] / src / language / expressions / helpers.c
index b4534c8111719e8e1f9de3ac73d3b9a3cf66dffd..9d0d18cab134185f5d5b4d308e21a7a5be12fef4 100644 (file)
@@ -2,7 +2,7 @@
 #include "helpers.h"
 #include <gsl/gsl_roots.h>
 #include <gsl/gsl_sf.h>
-#include "pool.h"
+#include <libpspp/pool.h>
 #include "private.h"
 
 const struct fixed_string empty_string = {NULL, 0};
@@ -15,7 +15,8 @@ expr_error (void *aux UNUSED, const char *format, ...)
 
   /* FIXME: we can do better about saying where the error
      occurred. */
-  e.class = SE;
+  e.category = MSG_SYNTAX;
+  e.severity = MSG_ERROR;
   err_location (&e.where);
   e.title = NULL;