From f164c7a39a279f0f1224f7872486e32ec9ade7c9 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 10 Feb 2019 17:42:47 -0500 Subject: Don't match DQ string inside SQ string --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hi.c b/bin/hi.c index e7b826f8..d071a876 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -86,7 +86,7 @@ static const struct Syntax CSyntax[] = { .pattern = "include" WS "(<[^>]*>)" }, { String, .pattern = "[LUu]?" PATTERN_SQ }, - { String, + { String, .parent = ~SET(String), .pattern = "([LU]|u8?)?" PATTERN_DQ }, { Escape, .parent = SET(String), .pattern = "[\\]([\"'?\\abfnrtv]|[0-7]{1,3}|x[0-9A-Fa-f]+)" }, -- cgit 1.4.1 n value='master' selected='selected'>master dontfiles
summary refs log tree commit diff
path: root/home (unfollow)
Commit message (Expand)Author
2018-09-04Add -i invert option to glitchJune McEnroe
2018-09-02malloc IDAT chunks in pngo and glitchJune McEnroe
2018-09-02Use PascalCase for constants in gfxJune McEnroe
2018-09-02Use PascalCase for constantsJune McEnroe
2018-09-02Remove colorcolumn at 100June McEnroe
2018-09-02Install bc(1) on ArchJune McEnroe
2018-09-02SendEnv LANGJune McEnroe
2018-08-27Add New Order — TemptationJune McEnroe
2018-08-26Add NetBSD to install.shJune McEnroe
2018-08-24Show hostname in title over SSHJune McEnroe
2018-08-23Alias bc='bc -l'June McEnroe
2018-08-20Update usage of scheme in READMEJune McEnroe
2018-08-20Use scheme.h in fbatt and fbclockJune McEnroe
2018-08-20Generate scheme.hJune McEnroe
2018-08-20Add dependencies on gfx.hJune McEnroe
2018-08-18Add Blondie — Heart of GlassJune McEnroe
2018-08-18Set FCEDIT=$EDITORJune McEnroe
2018-08-18Only post commits with bodies to MastodonJune McEnroe
2018-08-18Run tf/cfg link script with /bin/shJune McEnroe
2018-08-18Run {,s,t}up with /bin/shJune McEnroe
2018-08-18Use whence instead of typeJune McEnroe
2018-08-18Cut off path components until right prompt fitsJune McEnroe
2018-08-17Add "private" alias to source encrypted fileJune McEnroe
2018-08-17Add vim mapping to add a #includeJune McEnroe