You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include <config.h>
-#include <assert.h>
+#include "error.h"
#include <stddef.h>
#include <stdlib.h>
#include "alloc.h"
#include "command.h"
+#include "dictionary.h"
#include "do-ifP.h"
#include "error.h"
#include "hash.h"
#include "value-labels.h"
#include "var.h"
-#include "debug-print.h"
-
int temporary;
struct dictionary *temp_dict;
int temp_trns;
int
cmd_temporary (void)
{
- lex_match_id ("TEMPORARY");
-
/* TEMPORARY is not allowed inside DO IF or LOOP. */
if (ctl_stack)
{
/* Make a copy of the current dictionary. */
temporary = 1;
temp_dict = dict_clone (default_dict);
- if (f_trns == n_trns)
- temp_trns = -1;
- else
- temp_trns = n_trns;
- debug_printf (("TEMPORARY: temp_trns=%d\n", temp_trns));
+ temp_trns = n_trns;
return lex_end_of_command ();
}