X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Futilities%2Fset.q;h=4fdcc578f7dff5bc4dcee7c178f0519bafde5d4e;hb=ecd26ec19e9f8a58079a1c5fa06b39484787ab7e;hp=d6252cf4e687c26cb5538b76fe7c56a531346ece;hpb=2d4dd90964061defa92972156ae2a12323708519;p=pspp-builds.git diff --git a/src/language/utilities/set.q b/src/language/utilities/set.q index d6252cf4..4fdcc578 100644 --- a/src/language/utilities/set.q +++ b/src/language/utilities/set.q @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -30,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -369,7 +369,7 @@ stc_custom_blanks (struct lexer *lexer, struct cmd_set *cmd UNUSED, void *aux UNUSED) { lex_match (lexer, '='); - if ((lex_token (lexer) == T_ID && lex_id_match ("SYSMIS", lex_tokid (lexer)))) + if (lex_match_id (lexer, "SYSMIS")) { lex_get (lexer); set_blanks (SYSMIS); @@ -774,7 +774,7 @@ show_weight (const struct dataset *ds) if (var == NULL) msg (SN, _("WEIGHT is off.")); else - msg (SN, _("WEIGHT is variable %s."), var->name); + msg (SN, _("WEIGHT is variable %s."), var_get_name (var)); } static void