pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/language ChangeLog command.c command.def


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/language ChangeLog command.c command.def
Date: Thu, 27 Apr 2006 04:15:02 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         
Changes by:     Ben Pfaff <address@hidden>      06/04/27 04:15:02

Modified files:
        src/language   : ChangeLog command.c command.def 

Log message:
        CLEAR TRANSFORMATIONS is unsafe as implemented.  It's a fair amount of
        work to implement it correctly, so make it unimplemented.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/ChangeLog.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/command.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/command.def.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: pspp/src/language/ChangeLog
diff -u pspp/src/language/ChangeLog:1.3 pspp/src/language/ChangeLog:1.4
--- pspp/src/language/ChangeLog:1.3     Wed Apr 26 20:54:08 2006
+++ pspp/src/language/ChangeLog Thu Apr 27 04:15:02 2006
@@ -1,3 +1,13 @@
+Wed Apr 26 21:13:46 2006  Ben Pfaff  <address@hidden>
+
+       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  <address@hidden>
 
        Work on readline completion.
Index: pspp/src/language/command.c
diff -u pspp/src/language/command.c:1.6 pspp/src/language/command.c:1.7
--- pspp/src/language/command.c:1.6     Wed Apr 26 20:54:08 2006
+++ pspp/src/language/command.c Thu Apr 27 04:15:02 2006
@@ -832,17 +832,6 @@
   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)
Index: pspp/src/language/command.def
diff -u pspp/src/language/command.def:1.2 pspp/src/language/command.def:1.3
--- pspp/src/language/command.def:1.2   Wed Apr 26 20:54:08 2006
+++ pspp/src/language/command.def       Thu Apr 27 04:15:02 2006
@@ -93,7 +93,6 @@
 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 ("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")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]