summaryrefslogtreecommitdiff
path: root/contrib/tsearch/deflex.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsearch/deflex.h')
-rw-r--r--contrib/tsearch/deflex.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/tsearch/deflex.h b/contrib/tsearch/deflex.h
new file mode 100644
index 0000000000..8c74595a68
--- /dev/null
+++ b/contrib/tsearch/deflex.h
@@ -0,0 +1,30 @@
+#ifndef __DEFLEX_H__
+#define __DEFLEX_H__
+
+/* rememder !!!! */
+#define LASTNUM 19
+
+#define LATWORD 1
+#define NONLATINWORD 2
+#define UWORD 3
+#define EMAIL 4
+#define FURL 5
+#define HOST 6
+#define FLOAT 7
+#define FINT 8
+#define PARTWORD 9
+#define NONLATINPARTWORD 10
+#define LATPARTWORD 11
+#define SPACE 12
+#define SYMTAG 13
+#define HTTP 14
+#define DEFISWORD 15
+#define DEFISLATWORD 16
+#define DEFISNONLATINWORD 17
+#define URI 18
+#define FILEPATH 19
+
+extern const char *descr[];
+
+#endif
+