From: Ben Pfaff Date: Wed, 29 Oct 2008 13:33:56 +0000 (-0700) Subject: Allow MATCH FILES before an active file has been defined. X-Git-Tag: v0.7.1~50^2~6 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd97d8bee5b125aa9d82d3a46685aac21282c051;p=pspp-builds.git Allow MATCH FILES before an active file has been defined. Except when it has the active file as an input, MATCH FILES does not require an active file, and produces an active file, so it makes sense to allow it anywhere. Thanks to John Darrington for pointing out the bug. --- diff --git a/src/language/command.def b/src/language/command.def index 442234d9..de92c26a 100644 --- a/src/language/command.def +++ b/src/language/command.def @@ -45,6 +45,7 @@ DEF_CMD (S_INITIAL | S_DATA, 0, "GET", cmd_get) DEF_CMD (S_INITIAL | S_DATA, 0, "GET DATA", cmd_get_data) DEF_CMD (S_INITIAL | S_DATA, 0, "IMPORT", cmd_import) DEF_CMD (S_INITIAL | S_DATA, 0, "INPUT PROGRAM", cmd_input_program) +DEF_CMD (S_INITIAL | S_DATA, 0, "MATCH FILES", cmd_match_files) /* Transformations and utilities that may appear after active file definition or within INPUT PROGRAM. */ @@ -107,7 +108,6 @@ DEF_CMD (S_DATA, 0, "FILTER", cmd_filter) DEF_CMD (S_DATA, 0, "FLIP", cmd_flip) DEF_CMD (S_DATA, 0, "FREQUENCIES", cmd_frequencies) DEF_CMD (S_DATA, 0, "LIST", cmd_list) -DEF_CMD (S_DATA, 0, "MATCH FILES", cmd_match_files) DEF_CMD (S_DATA, 0, "MEANS", cmd_means) DEF_CMD (S_DATA, 0, "MODIFY VARS", cmd_modify_vars) DEF_CMD (S_DATA, 0, "NPAR TESTS", cmd_npar_tests)