summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-31 19:51:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-31 19:51:04 +0200
commit993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4 (patch)
tree41af325f0266b3316de634a57fa12ffa2b86c6b2 /symbol.c
parentcec88d59be5ef7c50647e45f5aeb3d9260236705 (diff)
downloadgawk-993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4.tar.gz
Some minor fixes. See ChangeLog.
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/symbol.c b/symbol.c
index dc87ed90..1e0e474b 100644
--- a/symbol.c
+++ b/symbol.c
@@ -521,16 +521,16 @@ load_symbols()
long i, j, max;
NODE *user, *extension, *untyped, *scalar, *array;
NODE **list;
- NODE *tables[] = {
- func_table,
- symbol_table,
- global_table,
- NULL
- };
+ NODE *tables[4];
if (PROCINFO_node == NULL)
return;
+ tables[0] = func_table;
+ tables[1] = symbol_table;
+ tables[2] = global_table;
+ tables[3] = NULL;
+
tmp = make_string("identifiers", 11);
aptr = assoc_lookup(PROCINFO_node, tmp);