aboutsummaryrefslogtreecommitdiff
path: root/boot/lexer.ll
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-23 01:01:03 +0200
committerEugen Wissner <belka@caraus.de>2026-07-23 01:01:03 +0200
commit275fa4bff6d153019b6914fed7127a7d919ca177 (patch)
tree37f8ef0d49c304fe0fde47ce7d4b3ea32ffce707 /boot/lexer.ll
parentbd9fe800349dc139cc5841980bcae96e0d18e2db (diff)
downloadelna-275fa4bff6d153019b6914fed7127a7d919ca177.tar.gz
Implement for loop
Diffstat (limited to 'boot/lexer.ll')
-rw-r--r--boot/lexer.ll6
1 files changed, 6 insertions, 0 deletions
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);
}