From b575036fe804f14b78da74897a74b010cc94f730 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 16 Sep 2026 11:49:35 +0200 Subject: Implement named blocks --- 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 1cccd35..3d881e3 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -179,6 +179,12 @@ cast { defer { return yy::parser::make_DEFER(this->location); } +block { + return yy::parser::make_BLOCK(this->location); +} +break { + return yy::parser::make_BREAK(this->location); +} case { return yy::parser::make_CASE(this->location); } -- cgit v1.2.3