diff options
author | June McEnroe <june@causal.agency> | 2019-12-19 02:28:40 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-19 02:28:40 -0500 |
commit | d595b389262c65cb758d3c2e32835b768b35b957 (patch) | |
tree | 3f1cc02597bf7b9f2ea1fb1a41a3855a9d5e6e23 | |
parent | Hide line numbers when rendering mdoc (diff) | |
download | src-d595b389262c65cb758d3c2e32835b768b35b957.tar.gz src-d595b389262c65cb758d3c2e32835b768b35b957.zip |
Avoid matching := assignments as tags
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c index 42f34677..1bff2cc4 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -143,7 +143,7 @@ static const struct Syntax MakeSyntax[] = { { Macro, .pattern = "^ *-?include" }, { Tag, .parent = ~SET(Keyword), .subexp = 1, - .pattern = "(" MAKE_TARGET ")" "(" BL1 MAKE_TARGET ")*" BL0 ":" }, + .pattern = "(" MAKE_TARGET ")" "(" BL1 MAKE_TARGET ")*" BL0 ":[^=]" }, { String, .subexp = 1, .pattern = "[._[:alnum:]]+" BL0 "[!+:?]?=" BL0 "(.*)" }, { Normal, |