diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
commit | 2fcb157f28b152ba32e89baddbd811b0d6e76b79 (patch) | |
tree | 30f96332ac7993ff4acf88b4892f922a80ddd393 /test/parse.c | |
parent | 2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff) | |
download | libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2 |
Strip trailing whitespace.
Diffstat (limited to 'test/parse.c')
-rw-r--r-- | test/parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parse.c b/test/parse.c index dbbf91f..0692fc7 100644 --- a/test/parse.c +++ b/test/parse.c @@ -29,7 +29,7 @@ static const char *event_names[] = { }; #endif -static css_error event_handler(css_parser_event type, +static css_error event_handler(css_parser_event type, const parserutils_vector *tokens, void *pw) { #if !DUMP_EVENTS @@ -88,7 +88,7 @@ int main(int argc, char **argv) params.event_handler.handler = event_handler; params.event_handler.pw = NULL; - assert(css__parser_setopt(parser, CSS_PARSER_EVENT_HANDLER, + assert(css__parser_setopt(parser, CSS_PARSER_EVENT_HANDLER, ¶ms) == CSS_OK); fp = fopen(argv[1], "rb"); @@ -130,7 +130,7 @@ int main(int argc, char **argv) } printf("PASS\n"); - + return 0; } |