From e5353c0f447a8628985722296f57fc02dd2e0063 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 11 May 2012 15:05:35 +0300 Subject: Move to use of bool type, true, false, everywhere. --- int_array.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'int_array.c') diff --git a/int_array.c b/int_array.c index 0fa37642..4e1ff2b1 100644 --- a/int_array.c +++ b/int_array.c @@ -94,10 +94,10 @@ is_integer(NODE *symbol, NODE *subs) return NULL; } - /* a[3]=1; print "3" in a -- TRUE - * a[3]=1; print "+3" in a -- FALSE - * a[3]=1; print "03" in a -- FALSE - * a[-3]=1; print "-3" in a -- TRUE + /* a[3]=1; print "3" in a -- true + * a[3]=1; print "+3" in a -- false + * a[3]=1; print "03" in a -- false + * a[-3]=1; print "-3" in a -- true */ if ((subs->flags & (STRING|STRCUR)) != 0) { -- cgit v1.2.3 From 1d607c0112f20a1f3a46668bc61fdc7e38c492eb Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 10 Nov 2012 21:47:32 +0200 Subject: Array bug fixes. --- int_array.c | 1 + 1 file changed, 1 insertion(+) (limited to 'int_array.c') diff --git a/int_array.c b/int_array.c index 4e1ff2b1..a2c9e41e 100644 --- a/int_array.c +++ b/int_array.c @@ -398,6 +398,7 @@ int_copy(NODE *symbol, NODE *newsymb) ) { getbucket(newchain); newchain->aicount = chain->aicount; + newchain->ainext = NULL; for (j = 0; j < chain->aicount; j++) { NODE *oldval; -- cgit v1.2.3