From 275fa4bff6d153019b6914fed7127a7d919ca177 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 23 Jul 2026 01:01:03 +0200 Subject: Implement for loop --- boot/lexer.ll | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'boot/lexer.ll') diff --git a/boot/lexer.ll b/boot/lexer.ll index 9fe0398..c363ddd 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -83,6 +83,12 @@ elsif { while { return yy::parser::make_WHILE(this->location); } +for { + return yy::parser::make_FOR(this->location); +} +by { + return yy::parser::make_BY(this->location); +} do { return yy::parser::make_DO(this->location); } -- cgit v1.2.3