diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2005-12-05 18:13:22 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2005-12-05 18:13:22 +0000 |
commit | e8c81e179e752b1f443b863a200c5c07477e09d3 (patch) | |
tree | 1956eefedc3d3c07311519c6c6c69fb0ba9f261a /contrib/tsearch2/wordparser/parser.h | |
parent | 8cb4e4f6bdb77689662f435f8fb4816e4a708734 (diff) |
Improve word parser.
- improve file and path recognition
- fix misspeling
- improve tag recognition
Diffstat (limited to 'contrib/tsearch2/wordparser/parser.h')
-rw-r--r-- | contrib/tsearch2/wordparser/parser.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/tsearch2/wordparser/parser.h b/contrib/tsearch2/wordparser/parser.h index 83468d657f0..9cdd141efde 100644 --- a/contrib/tsearch2/wordparser/parser.h +++ b/contrib/tsearch2/wordparser/parser.h @@ -30,6 +30,7 @@ typedef enum TPS_InHTMLEntityNum, TPS_InHTMLEntityEnd, TPS_InTagFirst, + TPS_InXMLBegin, TPS_InTagCloseFirst, TPS_InTag, TPS_InTagEscapeK, @@ -42,15 +43,17 @@ typedef enum TPS_InCloseCommentFirst, TPS_InCloseCommentLast, TPS_InCommentEnd, - TPS_InHostFirstDomen, - TPS_InHostDomenSecond, - TPS_InHostDomen, + TPS_InHostFirstDomain, + TPS_InHostDomainSecond, + TPS_InHostDomain, TPS_InPortFirst, TPS_InPort, TPS_InHostFirstAN, TPS_InHost, TPS_InEmail, TPS_InFileFirst, + TPS_InPathFirst, + TPS_InPathSecond, TPS_InFile, TPS_InFileNext, TPS_InURIFirst, |