diff --git a/source/hl.h b/source/hl.h index 5c565b6..a8e168b 100644 --- a/source/hl.h +++ b/source/hl.h @@ -38,8 +38,8 @@ token * token_table[1000]; int token_table_top = 0; token * new_token(const char * const syntax, - const token_t t, - const hl_group_t * const g) { + const token_t t, + const hl_group_t * const g) { token * mt = (token*)malloc(sizeof(token)); mt->hl = g; mt->t = t; @@ -57,7 +57,7 @@ void new_keyword_tokens(const char * const * words, } int token_fits(const char* const pattern, - const char* const to) { + const char* const to) { if (pattern == NULL) { return true; } @@ -95,7 +95,7 @@ void render_string(const char * const string, display_t * display; HASH_FIND_STR(display_table, mode, display); // - if(f){ + if (f) { display->callback(s, f, token_table[i]->hl->attributes); s += f; } else {