From 47521ad6d85f9bd6caee39696ce40dff82cfa50d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 2 Sep 2026 13:31:04 +0200 Subject: Implement program entry point --- boot/lexer.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot/lexer.ll') diff --git a/boot/lexer.ll b/boot/lexer.ll index d0493c1..bebfa67 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -171,6 +171,9 @@ of { to { return yy::parser::make_TO(this->location); } +program { + return yy::parser::make_PROGRAM(this->location); +} {ID1}{ID2}* { return yy::parser::make_IDENTIFIER(yytext, this->location); } -- cgit v1.2.3