Add test for bug fixed recently in recode
[pspp] / src / weight.c
index 41dc33f65562becfde277be97d86165e320a50e1..7fac10cca7f4af6f193e38bdf616221c350e3300 100644 (file)
@@ -18,7 +18,7 @@
    02111-1307, USA. */
 
 #include <config.h>
-#include <assert.h>
+#include "error.h"
 #include <stdio.h>
 #include "command.h"
 #include "error.h"
@@ -37,8 +37,6 @@ struct weight_trns
 int
 cmd_weight (void)
 {
-  lex_match_id ("WEIGHT");
-
   if (lex_match_id ("OFF"))
     dict_set_weight (default_dict, NULL);
   else