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., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include <config.h>
-#include <assert.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 "gettext.h"
+#define _(msgid) gettext (msgid)
+
#include "debug-print.h"
/* Parses the NUMERIC command. */
int
cmd_numeric (void)
{
- int i;
+ size_t i;
/* Names of variables to create. */
char **v;
- int nv;
+ size_t nv;
/* Format spec for variables to create. f.type==-1 if default is to
be used. */
int
cmd_string (void)
{
- int i;
+ size_t i;
/* Names of variables to create. */
char **v;
- int nv;
+ size_t nv;
/* Format spec for variables to create. */
struct fmt_spec f;
break;
default:
assert (0);
+ abort ();
}
/* Create each variable. */
cmd_leave (void)
{
struct variable **v;
- int nv;
+ size_t nv;
- int i;
+ size_t i;
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
return CMD_FAILURE;