diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-01-06 09:16:07 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2019-01-06 09:16:07 -0500 |
commit | 0678c088360752f332752c3eaec551280151c29c (patch) | |
tree | 1a6e1302139557439ef58bc10066d42af200a55a /symbol.c | |
parent | 6a41af4e0169f81386922d6a6065a8b408b77296 (diff) | |
download | egawk-0678c088360752f332752c3eaec551280151c29c.tar.gz egawk-0678c088360752f332752c3eaec551280151c29c.tar.bz2 egawk-0678c088360752f332752c3eaec551280151c29c.zip |
Remove alength array method in favor of accessing table_size directly.
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ lookup(const char *name) n = NULL; for (i = 0; tables[i] != NULL; i++) { - if (tables[i]->table_size == 0) + if (assoc_empty(tables[i])) continue; if ((do_posix || do_traditional) && tables[i] == global_table) @@ -644,7 +644,7 @@ check_param_names(void) bool result = true; NODE n; - if (func_table->table_size == 0) + if (assoc_empty(func_table)) return result; max = func_table->table_size * 2; |