From 27deb15fda4e9904fb9658fc727a1f929048cc21 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 8 Apr 2001 16:26:12 +0000 Subject: [PATCH] Added URLWORD search specifier. --- lib/index.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/index.h b/lib/index.h index f7ad7c9a..91292510 100644 --- a/lib/index.h +++ b/lib/index.h @@ -28,7 +28,7 @@ enum word_type { /* Descriptive names used for user output */ #define WORD_TYPE_USER_NAMES \ "reserved", "text", "emph", "small", "title", "hdr1", "hdr2", "keywd", \ - "meta", "alt", "url", "type11", "type12", "type13", "type14", "type15" + "meta", "alt", "urlword", "type11", "type12", "type13", "type14", "type15" /* Keywords for word type names */ #define WORD_TYPE_NAMES \ @@ -42,7 +42,8 @@ enum word_type { T(HDR2, 1 << WT_BIG_HEADING) \ T(KEYWD, 1 << WT_KEYWORD) \ T(META, 1 << WT_META) \ - T(ALT, 1 << WT_ALT) + T(ALT, 1 << WT_ALT) \ + T(URLWORD, 1 << WT_URL) /* These types are not shown in document contexts */ #define WORD_TYPES_HIDDEN (1 << WT_URL) -- 2.39.2