X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fdata-io%2Flist.c;h=d84746506b9cb659e325feada4cfea9aa7a9fa93;hb=8e36488dd7866df169de48322bdfb4f8b853f8e0;hp=d9798852c1a815bb4aa4f390b39f4fbfbdb07171;hpb=21642f4f6a9e51d508d05aa003d3de112af7cdf2;p=pspp diff --git a/src/language/data-io/list.c b/src/language/data-io/list.c index d9798852c1..d84746506b 100644 --- a/src/language/data-io/list.c +++ b/src/language/data-io/list.c @@ -37,7 +37,6 @@ #include "libpspp/message.h" #include "libpspp/misc.h" #include "output/pivot-table.h" -#include "output/table-item.h" #include "gl/intprops.h" #include "gl/minmax.h" @@ -158,23 +157,23 @@ cmd_list (struct lexer *lexer, struct dataset *ds) while (lex_token (lexer) != T_ENDCMD) { lex_match (lexer, T_SLASH); - if (lex_match_id (lexer, "VARIABLES") ) + if (lex_match_id (lexer, "VARIABLES")) { lex_match (lexer, T_EQUALS); - if (! parse_variables_const (lexer, dict, &cmd.v_variables, &cmd.n_variables, 0 )) + if (! parse_variables_const (lexer, dict, &cmd.v_variables, &cmd.n_variables, 0)) { msg (SE, _("No variables specified.")); return CMD_FAILURE; } } - else if (lex_match_id (lexer, "FORMAT") ) + else if (lex_match_id (lexer, "FORMAT")) { lex_match (lexer, T_EQUALS); - if (lex_match_id (lexer, "NUMBERED") ) + if (lex_match_id (lexer, "NUMBERED")) { cmd.numbering = format_numbered; } - else if (lex_match_id (lexer, "UNNUMBERED") ) + else if (lex_match_id (lexer, "UNNUMBERED")) { cmd.numbering = format_unnumbered; } @@ -207,7 +206,7 @@ cmd_list (struct lexer *lexer, struct dataset *ds) lex_get (lexer); } } - else if (! parse_variables_const (lexer, dict, &cmd.v_variables, &cmd.n_variables, 0 )) + else if (! parse_variables_const (lexer, dict, &cmd.v_variables, &cmd.n_variables, 0)) { return CMD_FAILURE; }