From 29fbb3d54c281c1afd2dd298ecdfb5149f55bfd3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Jul 1997 20:46:51 +0000 Subject: [PATCH] (RE_TRANSLATE): Define default assuming simple integers. --- src/regex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/regex.h b/src/regex.h index 351ec7f4d97..24c568f1c93 100644 --- a/src/regex.h +++ b/src/regex.h @@ -289,6 +289,7 @@ typedef enum #ifndef RE_TRANSLATE_TYPE #define RE_TRANSLATE_TYPE char * +#define RE_TRANSLATE(TBL, C) ((TBL)[C]) #endif struct re_pattern_buffer -- 2.11.4.GIT