X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=8658634b364e64edf434243a9997fe315389ed3a;hb=860ca55c65448584c436692380c4fa655d2c3ba1;hp=9e62d9930b9d7b3c21efa82cc5c920b3e80c9569;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/language/dictionary/formats.c b/src/language/dictionary/formats.c index 9e62d993..8658634b 100644 --- a/src/language/dictionary/formats.c +++ b/src/language/dictionary/formats.c @@ -18,21 +18,22 @@ 02110-1301, USA. */ #include + #include #include #include -#include "command.h" -#include "message.h" -#include "lexer.h" -#include "misc.h" -#include "str.h" -#include "variable.h" + +#include +#include +#include +#include +#include +#include +#include #include "gettext.h" #define _(msgid) gettext (msgid) -#include "debug-print.h" - enum { FORMATS_PRINT = 001, @@ -81,7 +82,7 @@ internal_cmd_formats (int which) break; if (!parse_variables (default_dict, &v, &cv, PV_NUMERIC)) - return CMD_PART_SUCCESS_MAYBE; + return CMD_FAILURE; type = v[0]->type; if (!lex_match ('(')) @@ -114,5 +115,5 @@ internal_cmd_formats (int which) fail: free (v); - return CMD_PART_SUCCESS_MAYBE; + return CMD_FAILURE; }