From b2de730b6105964949df8bcf3937704108ba12b0 Mon Sep 17 00:00:00 2001 From: June 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 f9dcea24..fa16f1b6 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