From 2dd9392ef91b953ad5741fa8a955cfd7694a2e05 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 20 Apr 2024 14:58:32 -0400 Subject: Fix USE_COLOR --- builtins/array.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'builtins/array.h') diff --git a/builtins/array.h b/builtins/array.h index 5ee115ae..a2e76f18 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -5,12 +5,10 @@ #include #include -#include "util.h" #include "datatypes.h" #include "functions.h" #include "types.h" - -extern bool USE_COLOR; +#include "util.h" // Convert negative indices to back-indexed without branching: index0 = index + (index < 0)*(len+1)) - 1 #define Array_get(item_type, arr_expr, index_expr, filename, start, end) *({ \ -- cgit v1.2.3