projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added automake.mk files
[pspp]
/
src
/
weight.c
diff --git
a/src/weight.c
b/src/weight.c
index 41dc33f65562becfde277be97d86165e320a50e1..f1326f09d25fc6a70e99670b9ab68266f6c826f2 100644
(file)
--- a/
src/weight.c
+++ b/
src/weight.c
@@
-14,31
+14,25
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <config.h>
-#include
<assert.h>
+#include
"error.h"
#include <stdio.h>
#include "command.h"
#include <stdio.h>
#include "command.h"
+#include "dictionary.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
#include "var.h"
#include "error.h"
#include "lexer.h"
#include "str.h"
#include "var.h"
-/* WEIGHT transformation. */
-struct weight_trns
- {
- struct trns_header h;
- int src; /* `value' index of weighting variable. */
- int dest; /* `value' index of $WEIGHT. */
- };
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
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