summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/wordparser/parser.h
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2005-12-05 18:13:22 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2005-12-05 18:13:22 +0000
commite8c81e179e752b1f443b863a200c5c07477e09d3 (patch)
tree1956eefedc3d3c07311519c6c6c69fb0ba9f261a /contrib/tsearch2/wordparser/parser.h
parent8cb4e4f6bdb77689662f435f8fb4816e4a708734 (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.h9
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,