summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-11 14:59:41 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-11 14:59:41 +0000
commitbaadfd3a8f06d72c3088ed9b44c6a327f67f57a3 (patch)
tree7e384f01204341300b7dfc7b8e05d3083a72dc52 /src
parent55b5402adba32c8ebe66784956c3dcdbfd04e8ce (diff)
downloadlibhubbub-baadfd3a8f06d72c3088ed9b44c6a327f67f57a3.tar.gz
libhubbub-baadfd3a8f06d72c3088ed9b44c6a327f67f57a3.tar.bz2
Export a hubbub_doctype type to create_doctype() directly, rather than passing all its members as individual arguments.
svn path=/trunk/hubbub/; revision=4602
Diffstat (limited to 'src')
-rw-r--r--src/treebuilder/initial.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/treebuilder/initial.c b/src/treebuilder/initial.c
index 910cf33..a1e623d 100644
--- a/src/treebuilder/initial.c
+++ b/src/treebuilder/initial.c
@@ -273,9 +273,8 @@ bool handle_initial(hubbub_treebuilder *treebuilder, const hubbub_token *token)
/** \todo need public and system ids from tokeniser */
success = treebuilder->tree_handler->create_doctype(
treebuilder->tree_handler->ctx,
- &token->data.doctype.name,
- &token->data.doctype.public_id,
- &token->data.doctype.system_id, &doctype);
+ &token->data.doctype,
+ &doctype);
if (success != 0) {
/** \todo errors */
}