diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-15 15:06:59 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-15 15:07:50 +0200 |
| commit | bab44ff37c248a593199d9b3e69700800a49fbd7 (patch) | |
| tree | fbe8bb43d0148f7c7b96ff37f7af783cd879134f /syntax.h | |
| parent | 9ba333a6ae38820844668328e015aa3c9e6da895 (diff) | |
| download | vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.gz vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.xz | |
More efficient syntax highlighting, first match wins
Diffstat (limited to 'syntax.h')
| -rw-r--r-- | syntax.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
