summary refs log tree commit diff
path: root/bin/hilex/hilex.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-29 22:39:16 -0500
committerJune McEnroe <june@causal.agency>2020-12-29 22:39:16 -0500
commit7c70322c7c8e88af93375b89146b0cd6cb8cc7f0 (patch)
tree109495ff8c3b181f871d38d8b5d34835d23a185c /bin/hilex/hilex.1
parentClean up C lexer (diff)
downloadsrc-7c70322c7c8e88af93375b89146b0cd6cb8cc7f0.tar.gz
src-7c70322c7c8e88af93375b89146b0cd6cb8cc7f0.zip
Add make lexer
This is kind of a mess and needs to be cleaned up against more careful
reading of the make grammar.
Diffstat (limited to 'bin/hilex/hilex.1')
-rw-r--r--bin/hilex/hilex.120
1 files changed, 15 insertions, 5 deletions
diff --git a/bin/hilex/hilex.1 b/bin/hilex/hilex.1
index eb429fb0..2b789f65 100644
--- a/bin/hilex/hilex.1
+++ b/bin/hilex/hilex.1
@@ -1,4 +1,4 @@
-.Dd December 28, 2020
+.Dd December 29, 2020
 .Dt HILEX 1
 .Os
 .
@@ -84,7 +84,8 @@ and one of the following:
 .Sy Comment ,
 .Sy String ,
 .Sy StringEscape ,
-.Sy StringFormat .
+.Sy StringFormat ,
+.Sy Interpolation .
 .
 .Pp
 The options are as follows:
@@ -151,21 +152,30 @@ with minimal support for
 .Xr lex 1 ,
 .Xr yacc 1
 and Objective-C input.
-Automatically inferred for
+Inferred for
 .Pa *.[chlmy]
 files.
 .
+.It Cm make
+The portable subset of
+.Xr make 1 .
+Inferred for
+.Pa *.mk
+and
+.Pa Makefile
+files.
+.
 .It Cm mdoc
 The
 .Xr mdoc 7
 language.
-Automatically inferred for
+Inferred for
 .Pa *.[1-9]
 files.
 .
 .It Cm text
 Plain text.
-Automatically inferred for
+Inferred for
 .Pa *.txt
 files.
 .El