aboutsummaryrefslogtreecommitdiff
path: root/boot/lexer.ll
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-21 01:55:56 +0200
committerEugen Wissner <belka@caraus.de>2026-07-21 01:55:56 +0200
commit44d6e8a27294e5ca7300ab11900011b73d9336d4 (patch)
treed21addb0dec93fa8fa376bbd11076b17f3412173 /boot/lexer.ll
parent6b131c925dee7a5f97516edd581e051e08bb52d8 (diff)
downloadelna-44d6e8a27294e5ca7300ab11900011b73d9336d4.tar.gz
Implement slices
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 e84af85..9fe0398 100644
--- a/boot/lexer.ll
+++ b/boot/lexer.ll
@@ -152,6 +152,9 @@ case {
of {
return yy::parser::make_OF(this->location);
}
+to {
+ return yy::parser::make_TO(this->location);
+}
{ID1}{ID2}* {
return yy::parser::make_IDENTIFIER(yytext, this->location);
}