From 7c70322c7c8e88af93375b89146b0cd6cb8cc7f0 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 29 Dec 2020 22:39:16 -0500 Subject: Add make lexer This is kind of a mess and needs to be cleaned up against more careful reading of the make grammar. --- bin/hilex/hilex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/hilex/hilex.c') diff --git a/bin/hilex/hilex.c b/bin/hilex/hilex.c index 8b824bcd..1fa620e3 100644 --- a/bin/hilex/hilex.c +++ b/bin/hilex/hilex.c @@ -32,6 +32,7 @@ static const struct { const char *pattern; } Lexers[] = { { &LexC, "c", "[.][chlmy]$" }, + { &LexMake, "make", "[.]mk$|^Makefile$" }, { &LexMdoc, "mdoc", "[.][1-9]$" }, { &LexText, "text", "[.]txt$" }, }; -- cgit 1.4.1