From fc149fc4847438fb491048309a6d5d50e665beef Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 27 Apr 2006 04:15:02 +0000 Subject: [PATCH] CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of work to implement it correctly, so make it unimplemented. --- src/language/ChangeLog | 10 ++++++++++ src/language/command.c | 11 ----------- src/language/command.def | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/language/ChangeLog b/src/language/ChangeLog index 48aecc94..a2bae86c 100644 --- a/src/language/ChangeLog +++ b/src/language/ChangeLog @@ -1,3 +1,13 @@ +Wed Apr 26 21:13:46 2006 Ben Pfaff + + CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair + amount of work to implement it correctly, so make it + unimplemented. + + * command.c: (cmd_clear_transformations) Removed. + + * command.def: Mark CLEAR TRANSFORMATIONS as unimplemented. + Wed Apr 26 13:06:42 2006 Ben Pfaff Work on readline completion. diff --git a/src/language/command.c b/src/language/command.c index b842084e..5712ddbe 100644 --- a/src/language/command.c +++ b/src/language/command.c @@ -832,17 +832,6 @@ cmd_new_file (void) return lex_end_of_command (); } -/* Parses, performs the CLEAR TRANSFORMATIONS command. */ -int -cmd_clear_transformations (void) -{ - cancel_transformations (); - /* FIXME: what about variables created by transformations? - They need to be properly initialized. */ - - return CMD_SUCCESS; -} - /* Parses a comment. */ int cmd_comment (void) diff --git a/src/language/command.def b/src/language/command.def index 2954271e..9ad6b477 100644 --- a/src/language/command.def +++ b/src/language/command.def @@ -93,7 +93,6 @@ DEF_CMD (S_DATA | S_INPUT_PROGRAM, 0, "XSAVE", cmd_xsave) DEF_CMD (S_DATA, 0, "AGGREGATE", cmd_aggregate) DEF_CMD (S_DATA, 0, "AUTORECODE", cmd_autorecode) DEF_CMD (S_DATA, F_KEEP_FINAL_TOKEN, "BEGIN DATA", cmd_begin_data) -DEF_CMD (S_DATA, 0, "CLEAR TRANSFORMATIONS", cmd_clear_transformations) DEF_CMD (S_DATA, 0, "CORRELATIONS", cmd_correlations) DEF_CMD (S_DATA, 0, "COUNT", cmd_count) DEF_CMD (S_DATA, 0, "CROSSTABS", cmd_crosstabs) @@ -144,6 +143,7 @@ UNIMPL_CMD ("ANOVA", "Factorial analysis of variance") UNIMPL_CMD ("CASEPLOT", "Plot time series") UNIMPL_CMD ("CASESTOVARS", "Restructure complex data") UNIMPL_CMD ("CCF", "Time series cross correlation") +UNIMPL_CMD ("CLEAR TRANSFORMATIONS", "Clears transformations from active file") UNIMPL_CMD ("CLUSTER", "Hierachial clustering") UNIMPL_CMD ("CONJOINT", "Analyse full concept data") UNIMPL_CMD ("COXREG", "Cox proportional hazards regression") -- 2.30.2