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 | d68b21f47152278f49e0645fb849ea38eceba98d (patch) | |
tree | 3c9141da957fe7c2f072a150b19485e3553ca5ce | |
parent | Hide line numbers when rendering mdoc (diff) | |
download | src-d68b21f47152278f49e0645fb849ea38eceba98d.tar.gz src-d68b21f47152278f49e0645fb849ea38eceba98d.zip |
Avoid matching := assignments as tags
-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 2fc05a93..b05110bd 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, |