From 6481bd7f3a503573c31b224dfde229dce2e9b68f Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Sat, 9 Aug 2008 19:34:52 +0000 Subject: Propagate the use of hubbub_error up into at least a bit of the treebuilder. svn path=/trunk/hubbub/; revision=4979 --- include/hubbub/functypes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/hubbub/functypes.h') diff --git a/include/hubbub/functypes.h b/include/hubbub/functypes.h index c6dbee2..d41f6bd 100644 --- a/include/hubbub/functypes.h +++ b/include/hubbub/functypes.h @@ -20,7 +20,8 @@ typedef void *(*hubbub_alloc)(void *ptr, size_t size, void *pw); /** * Type of token handling function */ -typedef void (*hubbub_token_handler)(const hubbub_token *token, void *pw); +typedef hubbub_error (*hubbub_token_handler)( + const hubbub_token *token, void *pw); /** * Type of parse error handling function -- cgit v1.2.3