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.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/hilex/hilex.h') diff --git a/bin/hilex/hilex.h b/bin/hilex/hilex.h index 93272bc0..3b796709 100644 --- a/bin/hilex/hilex.h +++ b/bin/hilex/hilex.h @@ -30,7 +30,8 @@ X(Comment) \ X(String) \ X(StringEscape) \ - X(StringFormat) + X(StringFormat) \ + X(Interpolation) enum Class { #define X(class) class, @@ -47,6 +48,7 @@ struct Lexer { }; extern const struct Lexer LexC; +extern const struct Lexer LexMake; extern const struct Lexer LexMdoc; extern const struct Lexer LexText; -- cgit 1.4.1