From 47c8f99b6ef812dbc22ca56a39ba21bccad47796 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 8 Sep 2026 20:43:39 +0200 Subject: Implement generic pointers --- boot/lexer.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot/lexer.ll') 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(yytext, 0)) { -- cgit v1.2.3