mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
37 lines
742 B
C
37 lines
742 B
C
/* $PostgreSQL: pgsql/contrib/tsearch2/wordparser/deflex.h,v 1.3 2006/03/11 04:38:30 momjian Exp $ */
|
|
|
|
#ifndef __DEFLEX_H__
|
|
#define __DEFLEX_H__
|
|
|
|
/* rememder !!!! */
|
|
#define LASTNUM 23
|
|
|
|
#define LATWORD 1
|
|
#define CYRWORD 2
|
|
#define UWORD 3
|
|
#define EMAIL 4
|
|
#define FURL 5
|
|
#define HOST 6
|
|
#define SCIENTIFIC 7
|
|
#define VERSIONNUMBER 8
|
|
#define PARTHYPHENWORD 9
|
|
#define CYRPARTHYPHENWORD 10
|
|
#define LATPARTHYPHENWORD 11
|
|
#define SPACE 12
|
|
#define TAG 13
|
|
#define PROTOCOL 14
|
|
#define HYPHENWORD 15
|
|
#define LATHYPHENWORD 16
|
|
#define CYRHYPHENWORD 17
|
|
#define URI 18
|
|
#define FILEPATH 19
|
|
#define DECIMAL 20
|
|
#define SIGNEDINT 21
|
|
#define UNSIGNEDINT 22
|
|
#define HTMLENTITY 23
|
|
|
|
extern const char *lex_descr[];
|
|
extern const char *tok_alias[];
|
|
|
|
#endif
|