projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(parse_map_in): Improve error message when user
[pspp]
/
src
/
language
/
xforms
/
fail.c
diff --git
a/src/language/xforms/fail.c
b/src/language/xforms/fail.c
index ebc30e9c950e3215194942055a99be273cbba904..b12585a7ac543d71b83e121747941c4089880c53 100644
(file)
--- a/
src/language/xforms/fail.c
+++ b/
src/language/xforms/fail.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 2007 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 2007 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-27,7
+26,7
@@
#include <language/command.h>
#include <language/lexer/lexer.h>
#include <language/command.h>
#include <language/lexer/lexer.h>
-static int trns_fail (void *x, struct ccase *c, casenum
_t
n);
+static int trns_fail (void *x, struct ccase *c, casenum
ber
n);
\f
\f
@@
-35,17
+34,17
@@
static int trns_fail (void *x, struct ccase *c, casenum_t n);
static int
trns_fail (void *x UNUSED, struct ccase *c UNUSED,
static int
trns_fail (void *x UNUSED, struct ccase *c UNUSED,
- casenum
_t
n UNUSED)
+ casenum
ber
n UNUSED)
{
return TRNS_ERROR;
}
int
{
return TRNS_ERROR;
}
int
-cmd_debug_xform_fail (
void
)
+cmd_debug_xform_fail (
struct lexer *lexer, struct dataset *ds
)
{
{
- add_transformation (
current_dataset
, trns_fail, NULL, NULL);
+ add_transformation (
ds
, trns_fail, NULL, NULL);
- return lex_end_of_command ();
+ return lex_end_of_command (
lexer
);
}
}