aboutsummaryrefslogtreecommitdiffstats
path: root/str_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-03-01 20:29:12 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-03-01 20:29:12 +0200
commit473623f186c3699c8886ccdd8a2afb7f4fe7a07e (patch)
tree40b075a492be67b317635d9102e2441d74ce9569 /str_array.c
parent2b8a8424212839cd30490e4245c0c5119904eca3 (diff)
parent1c06c5c6f0f6d46f63977dd7407d86ccc2614226 (diff)
downloadegawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.tar.gz
egawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.tar.bz2
egawk-473623f186c3699c8886ccdd8a2afb7f4fe7a07e.zip
Merge branch 'gawk_mpfr' of git.sv.gnu.org:/srv/git/gawk into gawk_mpfr
Diffstat (limited to 'str_array.c')
-rw-r--r--str_array.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/str_array.c b/str_array.c
index 4bd993e6..6895f587 100644
--- a/str_array.c
+++ b/str_array.c
@@ -55,11 +55,6 @@ static NODE **str_list(NODE *symbol, NODE *subs);
static NODE **str_copy(NODE *symbol, NODE *newsymb);
static NODE **str_dump(NODE *symbol, NODE *ndump);
-#ifdef ARRAYDEBUG
-static NODE **str_option(NODE *opt, NODE *val);
-#endif
-
-
array_ptr str_array_func[] = {
str_array_init,
(array_ptr) 0,
@@ -70,9 +65,6 @@ array_ptr str_array_func[] = {
str_list,
str_copy,
str_dump,
-#ifdef ARRAYDEBUG
- str_option
-#endif
};
static inline NODE **str_find(NODE *symbol, NODE *s1, size_t code1, unsigned long hash1);
@@ -671,27 +663,6 @@ grow_table(NODE *symbol)
}
-#ifdef ARRAYDEBUG
-
-static NODE **
-str_option(NODE *opt, NODE *val)
-{
- int newval;
- NODE *tmp;
- NODE **ret = (NODE **) ! NULL;
-
- tmp = force_string(opt);
- (void) force_number(val);
- if (strcmp(tmp->stptr, "STR_CHAIN_MAX") == 0) {
- newval = (int) val->numbr;
- if (newval > 0)
- STR_CHAIN_MAX = newval;
- } else
- ret = NULL;
- return ret;
-}
-#endif
-
/*
From bonzini@gnu.org Mon Oct 28 16:05:26 2002