aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-03-08 18:31:52 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-03-08 18:31:52 +0200
commit5fd7d2faf13484c595f7cd74468711282816796d (patch)
tree54a7716c5bb875481044352dfedef90c6bc68199 /main.c
parentb9931e852ba21180c380639135f96cdcd0a3015f (diff)
downloadegawk-5fd7d2faf13484c595f7cd74468711282816796d.tar.gz
egawk-5fd7d2faf13484c595f7cd74468711282816796d.tar.bz2
egawk-5fd7d2faf13484c595f7cd74468711282816796d.zip
More progress on bool.
Diffstat (limited to 'main.c')
-rw-r--r--main.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/main.c b/main.c
index 9833d848..76f28289 100644
--- a/main.c
+++ b/main.c
@@ -982,23 +982,6 @@ load_procinfo_argv()
assoc_set(PROCINFO_node, sub, argv_array);
}
-/* load_procinfo_bools --- populate PROCINFO["true"] and PROCINFO["false"] */
-
-static void
-load_procinfo_bools()
-{
- NODE *sub;
- NODE *val;
-
- val = make_bool_node(false);
- sub = make_string("false", 5);
- assoc_set(PROCINFO_node, sub, val);
-
- val = make_bool_node(true);
- sub = make_string("true", 4);
- assoc_set(PROCINFO_node, sub, val);
-}
-
/* load_procinfo --- populate the PROCINFO array */
static NODE *
@@ -1085,7 +1068,6 @@ load_procinfo()
}
#endif
load_procinfo_argv();
- load_procinfo_bools();
return PROCINFO_node;
}