summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-04 20:46:51 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-04 20:46:51 +0000
commit1d1142ea2e6041fcdcdb3f74c71a3dabb2bd45a4 (patch)
tree753bba98646a960e64da48ff2d953a416114784a /src/regex.h
parentbc192b5b1a851f1584f5fdf568d131286d936278 (diff)
(RE_TRANSLATE): Define default assuming simple integers.
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h1
1 files changed, 1 insertions, 0 deletions
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