aboutsummaryrefslogtreecommitdiff
path: root/syntax.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-15 15:06:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-15 15:07:50 +0200
commitbab44ff37c248a593199d9b3e69700800a49fbd7 (patch)
treefbe8bb43d0148f7c7b96ff37f7af783cd879134f /syntax.h
parent9ba333a6ae38820844668328e015aa3c9e6da895 (diff)
downloadvis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.gz
vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.xz
More efficient syntax highlighting, first match wins
Diffstat (limited to 'syntax.h')
-rw-r--r--syntax.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax.h b/syntax.h
index accae9f..7d952fb 100644
--- a/syntax.h
+++ b/syntax.h
@@ -13,7 +13,7 @@ typedef struct {
typedef struct {
char *rule; /* regex to search for */
int cflags; /* compilation flags (REG_*) used when compiling */
- Color color; /* settings to apply in case of a match */
+ Color *color; /* settings to apply in case of a match */
regex_t regex; /* compiled form of the above rule */
} SyntaxRule;