diff options
| author | Bruce Momjian | 2005-10-15 02:49:52 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2005-10-15 02:49:52 +0000 |
| commit | 1dc34982511d91ef8a2b71bdcb870f067c1b3da9 (patch) | |
| tree | 1046adab1d4b964e0c38afeec0ee6546f61d9a8a /contrib/tsearch2/dict.h | |
| parent | 790c01d28099587bbe2c623d4389b62ee49b1dee (diff) | |
Standard pgindent run for 8.1.
Diffstat (limited to 'contrib/tsearch2/dict.h')
| -rw-r--r-- | contrib/tsearch2/dict.h | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/contrib/tsearch2/dict.h b/contrib/tsearch2/dict.h index a21086a49dd..0227bb48450 100644 --- a/contrib/tsearch2/dict.h +++ b/contrib/tsearch2/dict.h @@ -39,26 +39,22 @@ typedef struct void parse_cfgdict(text *in, Map ** m); /* return struct for any lexize function */ -typedef struct { - /* number of variant of split word , for example - Word 'fotballklubber' (norwegian) has two varian to split: - ( fotball, klubb ) and ( fot, ball, klubb ). So, dictionary - should return: - nvariant lexeme - 1 fotball - 1 klubb - 2 fot - 2 ball - 2 klubb - - */ - uint16 nvariant; +typedef struct +{ + /* + * number of variant of split word , for example Word 'fotballklubber' + * (norwegian) has two varian to split: ( fotball, klubb ) and ( fot, + * ball, klubb ). So, dictionary should return: nvariant lexeme 1 + * fotball 1 klubb 2 fot 2 ball 2 klubb + * + */ + uint16 nvariant; /* currently unused */ - uint16 flags; + uint16 flags; /* C-string */ - char *lexeme; -} TSLexeme; + char *lexeme; +} TSLexeme; #endif |
