projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for bug fixed recently in recode
[pspp]
/
src
/
weight.c
diff --git
a/src/weight.c
b/src/weight.c
index 41dc33f65562becfde277be97d86165e320a50e1..7fac10cca7f4af6f193e38bdf616221c350e3300 100644
(file)
--- a/
src/weight.c
+++ b/
src/weight.c
@@
-18,7
+18,7
@@
02111-1307, USA. */
#include <config.h>
02111-1307, USA. */
#include <config.h>
-#include
<assert.h>
+#include
"error.h"
#include <stdio.h>
#include "command.h"
#include "error.h"
#include <stdio.h>
#include "command.h"
#include "error.h"
@@
-37,8
+37,6
@@
struct weight_trns
int
cmd_weight (void)
{
int
cmd_weight (void)
{
- lex_match_id ("WEIGHT");
-
if (lex_match_id ("OFF"))
dict_set_weight (default_dict, NULL);
else
if (lex_match_id ("OFF"))
dict_set_weight (default_dict, NULL);
else