- Promoted sys to the global system state. Convenient for arachne
iterations.
This commit is contained in:
parent
246c0c1c23
commit
01d914314e
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user