summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-02 16:26:15 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-02 16:26:15 +0200
commit9e2703f7ca0b35129a94465654d0e18d14048dbc (patch)
treec3ba2eccb5befd68af16a5e76c750957e675496d /symbol.c
parentb9a82851866f84ca306a2802b4ca50089a2fe683 (diff)
downloadgawk-9e2703f7ca0b35129a94465654d0e18d14048dbc.tar.gz
Document SYMTAB and FUNCTAB. Disable for --posix.
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index 61408c49..670f831d 100644
--- a/symbol.c
+++ b/symbol.c
@@ -107,6 +107,10 @@ lookup(const char *name)
for (i = 0; tables[i] != NULL; i++) {
if (tables[i]->table_size == 0)
continue;
+
+ if (do_posix && tables[i] == global_table)
+ continue;
+
n = in_array(tables[i], tmp);
if (n != NULL) {
unref(tmp);