From fd97d8bee5b125aa9d82d3a46685aac21282c051 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 29 Oct 2008 06:33:56 -0700 Subject: [PATCH] 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. --- src/language/command.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2