aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-09-12 13:18:38 +0200
committerHimbeer <himbeer@disroot.org>2024-09-12 13:18:38 +0200
commit26510b572c625df21d697d627a0149002c07078e (patch)
treee199bd24cebb7bfcb1a4478f24b47159ccffd8ba /include
parent2b8b9bd1250bcde34e43bc2f3c2e583cdae84780 (diff)
Include (single-line) comments in lexical analysis
Diffstat (limited to 'include')
-rw-r--r--include/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lex.h b/include/lex.h
index 942df9b..8050c4e 100644
--- a/include/lex.h
+++ b/include/lex.h
@@ -83,6 +83,7 @@ enum lexical_token {
T_LAST_OPERATOR,
// Tokens with additional information
+ T_COMMENT,
T_NAME,
T_NUMBER,
T_STRING,