X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fsplit-file.c;h=4ff62e178b7ef8a0156c34adad449f6bf1ccad2e;hb=a8867fce18005ec258afcb2050063238421b084e;hp=6eba150b9928032db393430dbcd0c9083a4e0fda;hpb=74a57f26f1458b28a0fddbb9f46004ac8f4d9c30;p=pspp diff --git a/src/split-file.c b/src/split-file.c index 6eba150b99..4ff62e178b 100644 --- a/src/split-file.c +++ b/src/split-file.c @@ -21,6 +21,7 @@ #include #include "alloc.h" #include "command.h" +#include "dictionary.h" #include "error.h" #include "lexer.h" #include "str.h" @@ -36,6 +37,9 @@ cmd_split_file (void) struct variable **v; int n; + /* For now, ignore SEPARATE and LAYERED. */ + lex_match_id ("SEPARATE") || lex_match_id ("LAYERED"); + lex_match (T_BY); if (!parse_variables (default_dict, &v, &n, PV_NO_DUPLICATE)) return CMD_FAILURE;