summary refs log tree commit diff
path: root/bin/hilex/irc.c
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
commitb2de730b6105964949df8bcf3937704108ba12b0 (patch)
treed8a1653d32432b9cf5c4ae1df806c172f3f44cb6 /bin/hilex/irc.c
parentClean up C lexer (diff)
downloadsrc-b2de730b6105964949df8bcf3937704108ba12b0.tar.gz
src-b2de730b6105964949df8bcf3937704108ba12b0.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/irc.c')
-rw-r--r--bin/hilex/irc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/hilex/irc.c b/bin/hilex/irc.c
index a83b55e6..deb35829 100644
--- a/bin/hilex/irc.c
+++ b/bin/hilex/irc.c
@@ -22,11 +22,12 @@
 #include "hilex.h"
 
 static const char *IRC[ClassCap] = {
-	[Keyword]      = "\00315",
-	[Macro]        = "\0033",
-	[Comment]      = "\0032",
-	[String]       = "\00310",
-	[StringFormat] = "\00311",
+	[Keyword]       = "\00315",
+	[Macro]         = "\0033",
+	[Comment]       = "\0032",
+	[String]        = "\00310",
+	[StringFormat]  = "\00311",
+	[Interpolation] = "\0037",
 };
 
 static void ircHeader(const char *opts[]) {