#include "language/syntax-file.h"
#include "libpspp/argv-parser.h"
#include "libpspp/assertion.h"
+#include "libpspp/cast.h"
#include "libpspp/compiler.h"
#include "libpspp/getl.h"
#include "libpspp/llx.h"
char *supported_formats = get_supported_formats ();
char *default_include_path = get_default_include_path ();
- printf ("\
+ printf (_("\
PSPP, a program for statistical analysis of sample data.\n\
Usage: %s [OPTION]... FILE...\n\
\n\
-h, --help display this help and exit\n\
-V, --version output version information and exit\n\
\n\
-Non-option arguments are interpreted as syntax files to execute.\n",
+Non-option arguments are interpreted as syntax files to execute.\n"),
program_name, supported_formats, default_include_path);
free (supported_formats);
case OPT_VERSION:
version_etc (stdout, "pspp", PACKAGE_NAME, PACKAGE_VERSION,
"Ben Pfaff", "John Darrington", "Jason Stover",
- (char *) NULL);
+ NULL_SENTINEL);
exit (EXIT_SUCCESS);
default:
{
struct terminal_opts *to;
- to = xmalloc (sizeof *to);
+ to = xzalloc (sizeof *to);
to->source_stream = ss;
to->syntax_mode = GETL_BATCH;
string_map_init (&to->options);