aboutsummaryrefslogtreecommitdiff
path: root/ext/fts5/extract_api_docs.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fts5/extract_api_docs.tcl')
-rw-r--r--ext/fts5/extract_api_docs.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/fts5/extract_api_docs.tcl b/ext/fts5/extract_api_docs.tcl
index afb2699be..2320d70b7 100644
--- a/ext/fts5/extract_api_docs.tcl
+++ b/ext/fts5/extract_api_docs.tcl
@@ -108,13 +108,15 @@ proc get_tokenizer_docs {data} {
append res "<dt><b>$line</b></dt><dd><p style=margin-top:0>\n"
continue
}
+ if {[regexp {SYNONYM SUPPORT} $line]} {
+ set line "</dl><h3>Synonym Support</h3>"
+ }
if {[string trim $line] == ""} {
append res "<p>\n"
} else {
append res "$line\n"
}
}
- append res "</dl>\n"
set res
}
@@ -208,6 +210,10 @@ proc main {data} {
fts5_tokenizer {
output [get_fts5_struct $data "typedef struct Fts5Tokenizer" "^\};"]
+ output [get_fts5_struct $data \
+ "Flags that may be passed as the third argument to xTokenize()" \
+ "#define FTS5_TOKEN_COLOCATED"
+ ]
}
fts5_extension {