From d68b21f47152278f49e0645fb849ea38eceba98d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 19 Dec 2019 02:28:40 -0500 Subject: Avoid matching := assignments as tags --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.4.1