diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-02 13:31:04 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-07 10:53:02 +0200 |
| commit | 47521ad6d85f9bd6caee39696ce40dff82cfa50d (patch) | |
| tree | cf5813033a440c6ac374948894d5dd70e0712cdb /boot/lexer.ll | |
| parent | 0fada11e99da430e9a056e46da9f0e110df6c45c (diff) | |
| download | elna-47521ad6d85f9bd6caee39696ce40dff82cfa50d.tar.gz | |
Implement program entry point
Diffstat (limited to 'boot/lexer.ll')
| -rw-r--r-- | boot/lexer.ll | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |
