summaryrefslogtreecommitdiff
path: root/test/lex-auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lex-auto.c')
-rw-r--r--test/lex-auto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lex-auto.c b/test/lex-auto.c
index 65118d6..ddd2da3 100644
--- a/test/lex-auto.c
+++ b/test/lex-auto.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <string.h>
+#include <parserutils/parserutils.h>
#include <parserutils/input/inputstream.h>
#include <libcss/libcss.h>
@@ -58,7 +59,7 @@ int main(int argc, char **argv)
return 1;
}
- assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK);
+ assert(parserutils_initialise(argv[1], myrealloc, NULL) == PARSERUTILS_OK);
ctx.buflen = parse_filesize(argv[2]);
if (ctx.buflen == 0)
@@ -87,7 +88,7 @@ int main(int argc, char **argv)
free(ctx.buf);
- assert(css_finalise(myrealloc, NULL) == CSS_OK);
+ assert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK);
printf("PASS\n");