From 1d1142ea2e6041fcdcdb3f74c71a3dabb2bd45a4 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.39.2