src/codegens.h

changeset 45
1f3835182aeb
parent 36
be60c22cddfe
child 46
534a4ef4143d
     1.1 --- a/src/codegens.h	Tue Aug 23 15:07:29 2016 +0200
     1.2 +++ b/src/codegens.h	Tue Aug 23 15:28:56 2016 +0200
     1.3 @@ -31,6 +31,7 @@
     1.4  #define	CODEGENS_H
     1.5  
     1.6  #include <stdio.h>
     1.7 +#include "ucx/buffer.h"
     1.8  
     1.9  #ifdef	__cplusplus
    1.10  extern "C" {
    1.11 @@ -41,7 +42,7 @@
    1.12  #define iswordcharacter(c) (isalnum(c) || c=='_' || c=='#' || c=='@')
    1.13      
    1.14  typedef struct _highlighter_t highlighter_t;
    1.15 -typedef void(*parser_fnc)(char*,char*,highlighter_t*);
    1.16 +typedef void(*parser_fnc)(char*,UcxBuffer*,highlighter_t*);
    1.17  
    1.18  struct _highlighter_t {
    1.19      const char** keywords;

mercurial