From: Ben Pfaff Date: Thu, 27 Apr 2006 04:15:02 +0000 (+0000) Subject: CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of X-Git-Tag: v0.6.0~931 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc149fc4847438fb491048309a6d5d50e665beef;p=pspp-builds.git CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of work to implement it correctly, so make it unimplemented. --- 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")