diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-24 03:11:32 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-24 03:11:32 +0200 |
| commit | bb4f474cb2247e0e314beab5d7d72e673ff4e8b6 (patch) | |
| tree | 4809b414bffa8d422ef8c1b6fe65dcdd4dce65d8 /boot/lexer.ll | |
| parent | 275fa4bff6d153019b6914fed7127a7d919ca177 (diff) | |
| download | elna-bb4f474cb2247e0e314beab5d7d72e673ff4e8b6.tar.gz | |
Implement a repeat loop
Diffstat (limited to 'boot/lexer.ll')
| -rw-r--r-- | boot/lexer.ll | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/boot/lexer.ll b/boot/lexer.ll index c363ddd..89fe85c 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -86,8 +86,14 @@ while { for { return yy::parser::make_FOR(this->location); } -by { - return yy::parser::make_BY(this->location); +repeat { + return yy::parser::make_REPEAT(this->location); +} +until { + return yy::parser::make_UNTIL(this->location); +} +with { + return yy::parser::make_WITH(this->location); } do { return yy::parser::make_DO(this->location); |
