X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fattributes.c;h=fc9cc9a5d28b72dd7b86701fb1cf42557b66a9f0;hb=af8fe020fa47f88b896924092297fb40c7831b1e;hp=135207306f528b1f16b027762d355f99aba53065;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp diff --git a/src/language/dictionary/attributes.c b/src/language/dictionary/attributes.c index 135207306f..fc9cc9a5d2 100644 --- a/src/language/dictionary/attributes.c +++ b/src/language/dictionary/attributes.c @@ -19,8 +19,8 @@ #include #include "data/attributes.h" +#include "data/dataset.h" #include "data/dictionary.h" -#include "data/procedure.h" #include "data/variable.h" #include "language/command.h" #include "language/lexer/lexer.h" @@ -197,7 +197,7 @@ parse_attributes (struct lexer *lexer, const char *dict_encoding, command = DELETE; else if (command == UNKNOWN) { - lex_error (lexer, _("expecting %s or %s"), "ATTRIBUTE=", "DELETE="); + lex_error_expecting (lexer, "ATTRIBUTE=", "DELETE=", NULL_SENTINEL); return CMD_FAILURE; }