- Promoted sys to the global system state. Convenient for arachne

iterations.
This commit is contained in:
ccremers 2004-08-09 21:43:55 +00:00
parent 246c0c1c23
commit 01d914314e

View File

@ -56,6 +56,9 @@
#include "argtable2.h" #include "argtable2.h"
// The global system state
System sys;
extern struct tacnode *spdltac; extern struct tacnode *spdltac;
extern Term TERM_Claim; extern Term TERM_Claim;
void scanner_cleanup (void); void scanner_cleanup (void);
@ -80,8 +83,6 @@ const char *releasetag = "alpha2-devel";
int int
main (int argc, char **argv) main (int argc, char **argv)
{ {
System sys;
struct arg_file *infile = struct arg_file *infile =
arg_file0 (NULL, NULL, "FILE", "input file ('-' for stdin)"); arg_file0 (NULL, NULL, "FILE", "input file ('-' for stdin)");
struct arg_file *outfile = arg_file0 ("o", "output", "FILE", struct arg_file *outfile = arg_file0 ("o", "output", "FILE",