diff -r abaf2489c549 -r be60c22cddfe src/c2html.c
--- a/src/c2html.c Fri Mar 04 14:48:28 2016 +0100
+++ b/src/c2html.c Fri Mar 04 15:02:22 2016 +0100
@@ -196,16 +196,16 @@
void init_c_highlighter(highlighter_t *highlighter) {
memset(highlighter, 0, sizeof(highlighter_t));
- highlighter->isdirective = iscdirective;
- highlighter->istype = isctype;
+ highlighter->isdirective = check_cdirective;
+ highlighter->istype = check_ctype;
highlighter->keywords = ckeywords;
highlighter->parser = cparseline;
}
void init_java_highlighter(highlighter_t *highlighter) {
memset(highlighter, 0, sizeof(highlighter_t));
- highlighter->isdirective = isjdirective;
- highlighter->istype = isjtype;
+ highlighter->isdirective = check_jdirective;
+ highlighter->istype = check_jtype;
highlighter->keywords = jkeywords;
highlighter->parser = jparseline;
}