From 01d914314e9079b4a511cad4cfaa13d713a1b439 Mon Sep 17 00:00:00 2001 From: ccremers Date: Mon, 9 Aug 2004 21:43:55 +0000 Subject: [PATCH] - Promoted sys to the global system state. Convenient for arachne iterations. --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 8dcd48e..303c38f 100644 --- a/src/main.c +++ b/src/main.c @@ -56,6 +56,9 @@ #include "argtable2.h" +// The global system state +System sys; + extern struct tacnode *spdltac; extern Term TERM_Claim; void scanner_cleanup (void); @@ -80,8 +83,6 @@ const char *releasetag = "alpha2-devel"; int main (int argc, char **argv) { - System sys; - struct arg_file *infile = arg_file0 (NULL, NULL, "FILE", "input file ('-' for stdin)"); struct arg_file *outfile = arg_file0 ("o", "output", "FILE",