Continue reforming error message support. In this phase, we divide
[pspp-builds.git] / src / language / expressions / helpers.c
index ff1621479505e151cabb289cdd97d2d80ed9962d..9d0d18cab134185f5d5b4d308e21a7a5be12fef4 100644 (file)
@@ -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;