X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Ftests%2Fmoments-test.c;h=af328928abddbff93e5cb6ac59ef955ef4367e0f;hb=51c23dc1290a9ad6973d9f26e261a61697c27207;hp=f5fc858dd4d2b130f0af647f14ad7483e92dc311;hpb=691c25e36fd1ee722dd35419d6110e3876b99f9c;p=pspp diff --git a/src/language/tests/moments-test.c b/src/language/tests/moments-test.c index f5fc858dd4..af328928ab 100644 --- a/src/language/tests/moments-test.c +++ b/src/language/tests/moments-test.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2010, 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 @@ -15,16 +15,19 @@ along with this program. If not, see . */ #include -#include -#include "gettext.h" -#include -#include -#include + #include +#include #include -#include "xalloc.h" -#include +#include "language/command.h" +#include "language/lexer/lexer.h" +#include "libpspp/compiler.h" +#include "math/moments.h" + +#include "gl/xalloc.h" + +#include "gettext.h" #define _(msgid) gettext (msgid) static bool @@ -132,7 +135,7 @@ cmd_debug_moments (struct lexer *lexer, struct dataset *ds UNUSED) } fprintf (stderr, "\n"); - retval = lex_end_of_command (lexer); + retval = CMD_SUCCESS; done: free (values);