summaryrefslogtreecommitdiff
path: root/test/parse.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 17:31:29 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 17:31:29 +0000
commit36966024c4044afa3706f2c51b544925dd438793 (patch)
treebe04afabdd8cb76a7384e78f9d836414bf742791 /test/parse.c
parent70f8503b0fcf4253c905b01aec4a72363147ab6f (diff)
downloadlibcss-36966024c4044afa3706f2c51b544925dd438793.tar.gz
libcss-36966024c4044afa3706f2c51b544925dd438793.tar.bz2
Stub out a CSS 2.1 stage 2 parser.
Parser core doesn't need to know about css_stylesheet, so change its API. svn path=/trunk/libcss/; revision=4854
Diffstat (limited to 'test/parse.c')
-rw-r--r--test/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse.c b/test/parse.c
index ac89a4e..7ee705b 100644
--- a/test/parse.c
+++ b/test/parse.c
@@ -73,8 +73,8 @@ int main(int argc, char **argv)
/* Initialise library */
assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK);
- parser = css_parser_create((css_stylesheet *) 10,
- "UTF-8", CSS_CHARSET_DICTATED, myrealloc, NULL);
+ parser = css_parser_create("UTF-8", CSS_CHARSET_DICTATED,
+ myrealloc, NULL);
assert(parser != NULL);
params.event_handler.handler = event_handler;