aboutsummaryrefslogtreecommitdiff
path: root/boot/lexer.ll
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-08 20:43:39 +0200
committerEugen Wissner <belka@caraus.de>2026-09-08 20:43:39 +0200
commit47c8f99b6ef812dbc22ca56a39ba21bccad47796 (patch)
tree7c057a6d408f9b30801767ed528f7f4c207bfbce /boot/lexer.ll
parent8f9ba0c67479d8926edead8aa828458c5b3bc1be (diff)
downloadelna-47c8f99b6ef812dbc22ca56a39ba21bccad47796.tar.gz
Implement generic pointers
Diffstat (limited to 'boot/lexer.ll')
-rw-r--r--boot/lexer.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/lexer.ll b/boot/lexer.ll
index 5da70e5..17fe0ca 100644
--- a/boot/lexer.ll
+++ b/boot/lexer.ll
@@ -181,6 +181,9 @@ program {
#{ID1}{ID2}* {
return yy::parser::make_TRAIT(yytext + 1, this->location);
}
+#\[ {
+ return yy::parser::make_GENERIC_OPEN(this->location);
+}
(0|{NATURAL})u|{HEXADECIMAL} {
if (auto result = parse_integer<std::uint64_t>(yytext, 0))
{