summary refs log tree commit diff
path: root/bin/hilex.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-19 20:08:20 -0500
committerJune McEnroe <june@causal.agency>2021-01-19 20:15:13 -0500
commit0193f411a44b7f20e97a93d52274582043589c2e (patch)
treee25a1f7c66fce20339fe643f5975f1819239fce7 /bin/hilex.c
parentMatch tab following escaped newline in make assignments (diff)
downloadsrc-0193f411a44b7f20e97a93d52274582043589c2e.tar.gz
src-0193f411a44b7f20e97a93d52274582043589c2e.zip
Support BSD make syntax and match *.am
These don't really go together, but...
Diffstat (limited to 'bin/hilex.c')
-rw-r--r--bin/hilex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hilex.c b/bin/hilex.c
index 1f9b98a5..9fa0b5a9 100644
--- a/bin/hilex.c
+++ b/bin/hilex.c
@@ -51,7 +51,7 @@ static const struct {
 	const char *linePatt;
 } Lexers[] = {
 	{ &LexC, "c", "[.][chlmy]$", NULL },
-	{ &LexMake, "make", "[.]mk$|^Makefile$", NULL },
+	{ &LexMake, "make", "[.](mk|am)$|^Makefile$", NULL },
 	{ &LexMdoc, "mdoc", "[.][1-9]$", "^[.]Dd" },
 	{ &LexText, "text", "[.]txt$", NULL },
 };