X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Flist.c;h=2fc9baaf436e4f8cbdb3c958e245799c0d849ece;hb=96994a54e60e9c95b8bba54c2281acf7059b1203;hp=d9798852c1a815bb4aa4f390b39f4fbfbdb07171;hpb=369c24f1d085a41ec274ebae5fc198fcee567653;p=pspp diff --git a/src/language/data-io/list.c b/src/language/data-io/list.c index d9798852c1..2fc9baaf43 100644 --- a/src/language/data-io/list.c +++ b/src/language/data-io/list.c @@ -158,23 +158,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 +207,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; }