From b9a82851866f84ca306a2802b4ca50089a2fe683 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 25 Sep 2012 12:58:05 +0200 Subject: First cut at SYMTAB and FUNCTAB. --- main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index f2a3c66b..e1cdd3d3 100644 --- a/main.c +++ b/main.c @@ -288,12 +288,18 @@ main(int argc, char **argv) if (argc < 2) usage(EXIT_FAILURE, stderr); + /* initialize the null string */ + Nnull_string = make_string("", 0); + /* Robustness: check that file descriptors 0, 1, 2 are open */ init_fds(); /* init array handling. */ array_init(); + /* init the symbol tables */ + init_symbol_table(); + output_fp = stdout; /* we do error messages ourselves on invalid options */ @@ -588,8 +594,6 @@ out: /* load group set */ init_groupset(); - /* initialize the null string */ - Nnull_string = make_string("", 0); #ifdef HAVE_MPFR if (do_mpfr) { mpz_init(Nnull_string->mpg_i); -- cgit v1.2.3