summaryrefslogtreecommitdiff
path: root/test/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tree.c')
-rw-r--r--test/tree.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tree.c b/test/tree.c
index 58c222c..85fd21a 100644
--- a/test/tree.c
+++ b/test/tree.c
@@ -54,6 +54,7 @@ static hubbub_error form_associate(void *ctx, void *form, void *node);
static hubbub_error add_attributes(void *ctx, void *node,
const hubbub_attribute *attributes, uint32_t n_attributes);
static hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode);
+static hubbub_error complete_script(void *ctx, void *script);
static hubbub_tree_handler tree_handler = {
create_comment,
@@ -73,6 +74,7 @@ static hubbub_tree_handler tree_handler = {
add_attributes,
set_quirks_mode,
NULL,
+ complete_script,
NULL
};
@@ -407,3 +409,11 @@ hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode)
return HUBBUB_OK;
}
+hubbub_error complete_script(void *ctx, void *script)
+{
+ UNUSED(ctx);
+ UNUSED(script);
+
+ return HUBBUB_OK;
+}
+