projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix description of "count" in Auxiliary Variable Parameter Record.
[pspp]
/
src
/
numeric.c
diff --git
a/src/numeric.c
b/src/numeric.c
index 2b42d2cfe2b720eb5749377323b31e9cf8d72db4..2a7dbe575c1dd570949d070d5f56c52a02f1c10a 100644
(file)
--- a/
src/numeric.c
+++ b/
src/numeric.c
@@
-14,29
+14,33
@@
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 "error.h"
#include <stdlib.h>
#include "command.h"
#include <config.h>
#include "error.h"
#include <stdlib.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"
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
#include "debug-print.h"
/* Parses the NUMERIC command. */
int
cmd_numeric (void)
{
#include "debug-print.h"
/* Parses the NUMERIC command. */
int
cmd_numeric (void)
{
-
in
t i;
+
size_
t i;
/* Names of variables to create. */
char **v;
/* Names of variables to create. */
char **v;
-
in
t nv;
+
size_
t nv;
/* Format spec for variables to create. f.type==-1 if default is to
be used. */
/* Format spec for variables to create. f.type==-1 if default is to
be used. */
@@
-103,11
+107,11
@@
fail:
int
cmd_string (void)
{
int
cmd_string (void)
{
-
in
t i;
+
size_
t i;
/* Names of variables to create. */
char **v;
/* Names of variables to create. */
char **v;
-
in
t nv;
+
size_
t nv;
/* Format spec for variables to create. */
struct fmt_spec f;
/* Format spec for variables to create. */
struct fmt_spec f;
@@
-146,6
+150,7
@@
cmd_string (void)
break;
default:
assert (0);
break;
default:
assert (0);
+ abort ();
}
/* Create each variable. */
}
/* Create each variable. */
@@
-182,9
+187,9
@@
int
cmd_leave (void)
{
struct variable **v;
cmd_leave (void)
{
struct variable **v;
-
in
t nv;
+
size_
t nv;
-
in
t i;
+
size_
t i;
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
return CMD_FAILURE;
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
return CMD_FAILURE;