src/c2html.c

changeset 36
be60c22cddfe
parent 35
abaf2489c549
child 37
1a67185e5496
--- 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;
 }

mercurial