X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fvariable-display.c;h=63bc6d472c6f4c8b01ac221b339ab6e5d518a3e9;hb=1076f8e88e2eee1bc780edd9d79d696a38af936d;hp=9e50551c92b9a17359af658d947014762fb78bc2;hpb=79100bdd30230890345c1c5a09ae57a19c1e408b;p=pspp diff --git a/src/language/dictionary/variable-display.c b/src/language/dictionary/variable-display.c index 9e50551c92..63bc6d472c 100644 --- a/src/language/dictionary/variable-display.c +++ b/src/language/dictionary/variable-display.c @@ -208,7 +208,10 @@ cmd_variable_role (struct lexer *lexer, struct dataset *ds) else if ( lex_match_id (lexer, "SPLIT")) role = ROLE_SPLIT; else - return CMD_FAILURE; + { + lex_error (lexer, NULL); + return CMD_FAILURE; + } if (!parse_variables (lexer, dataset_dict (ds), &v, &nv, PV_NONE)) return CMD_FAILURE;