#include <config.h>
#include "glob.h"
-#include <assert.h>
+#include "error.h"
#include <stdlib.h>
#include <stdio.h>
#include "alloc.h"
#include "command.h"
+#include "dictionary.h"
#include "do-ifP.h"
#include "error.h"
#include "expr.h"
#endif /* ENABLE_NLS */
fn_init ();
+ fh_init ();
getl_initialize ();
/* PORTME: If your system/OS has the nasty tendency to halt with a
last_vfm_invocation = time (NULL);
/* lexer.h */
- ds_init (NULL, &tokstr, 64);
+ ds_init (&tokstr, 64);
/* common.h */
{
logfn = xstrdup ("pspp.log");
logfile = NULL;
- /* file-handle.h */
- fh_init_files ();
-
get_date ();
}
+void
+done_glob(void)
+{
+ cancel_transformations ();
+ dict_destroy (default_dict);
+ free (logfn);
+ done_settings ();
+ ds_destroy (&tokstr);
+
+ fh_done();
+}
+
static void
get_date (void)
{