aboutsummaryrefslogtreecommitdiff
path: root/syntax.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-16 08:01:16 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-16 08:01:16 +0200
commit9c4888a2015407002637d5dd2c9685cb5bf48ed3 (patch)
treef181cb81c9dd0c54cc6f810d08c94fb7b8037698 /syntax.h
parentbab44ff37c248a593199d9b3e69700800a49fbd7 (diff)
downloadvis-9c4888a2015407002637d5dd2c9685cb5bf48ed3.tar.gz
vis-9c4888a2015407002637d5dd2c9685cb5bf48ed3.tar.xz
Import syntax rules from sandy
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 7d952fb..a4e4a33 100644
--- a/syntax.h
+++ b/syntax.h
@@ -12,8 +12,8 @@ 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 */
+ bool multiline; /* whether . should match new lines */
regex_t regex; /* compiled form of the above rule */
} SyntaxRule;