X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2Frepeat.c;h=5761730b68c17dbb513b5fa8c54b7e720856a78e;hb=37d5f592081a2ec8fa461c20c84087e8bf5dc560;hp=c0fa8fe0d8dfe165deb6f55968f17ed512d9b46f;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp-builds.git diff --git a/src/language/control/repeat.c b/src/language/control/repeat.c index c0fa8fe0..5761730b 100644 --- a/src/language/control/repeat.c +++ b/src/language/control/repeat.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2007, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,8 +18,9 @@ #include +#include "data/dataset.h" #include "data/dictionary.h" -#include "data/procedure.h" +#include "data/settings.h" #include "language/command.h" #include "language/lexer/lexer.h" #include "language/lexer/segment.h" @@ -158,8 +159,8 @@ parse_specification (struct lexer *lexer, struct dictionary *dict, first_dv = dv; else if (first_dv->n_values != dv->n_values) { - msg (SE, _("Dummy variable `%s' had %d substitutions, so `%s' must " - "also, but %d were specified."), + msg (SE, _("Dummy variable `%s' had %zu substitutions, so `%s' must " + "also, but %zu were specified."), first_dv->name, first_dv->n_values, dv->name, dv->n_values); goto error; @@ -410,7 +411,6 @@ parse_strings (struct lexer *lexer, struct dummy_var *dv) { if (!lex_force_string (lexer)) { - msg (SE, _("String expected.")); return false; }