diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-25 12:58:05 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-25 12:58:05 +0200 |
commit | b9a82851866f84ca306a2802b4ca50089a2fe683 (patch) | |
tree | 1f9928af8fc5f46589275992e6c6e7295e7a5924 /main.c | |
parent | eb2698f49247c94c84e1e2c2304ba94d96c89bc9 (diff) | |
download | egawk-b9a82851866f84ca306a2802b4ca50089a2fe683.tar.gz egawk-b9a82851866f84ca306a2802b4ca50089a2fe683.tar.bz2 egawk-b9a82851866f84ca306a2802b4ca50089a2fe683.zip |
First cut at SYMTAB and FUNCTAB.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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); |