diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 08:31:27 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 08:31:27 +0000 |
| commit | e847e4c53cf21fcb96f7ed7765e305a7ec8e6c19 (patch) | |
| tree | d065b2a3f0243df19e7013f433304d8032f83c7b /lib/Lexer/Lexer.cc | |
| parent | c372c08dc940db58f1da9cadeb64b4cb3c837704 (diff) | |
feat(classes): parse DELETE destructor methods and DELETE statement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/Lexer/Lexer.cc')
| -rw-r--r-- | lib/Lexer/Lexer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc index 8f86ced..61785c7 100644 --- a/lib/Lexer/Lexer.cc +++ b/lib/Lexer/Lexer.cc @@ -151,6 +151,7 @@ int Lexer::readToken() { if (IdentifierStr == "SET") return tok_set; if (IdentifierStr == "DEFINE") return tok_define; if (IdentifierStr == "NEW") return tok_new; + if (IdentifierStr == "DELETE") return tok_delete; if (IdentifierStr == "CLASS") return tok_class; if (IdentifierStr == "ENDCLASS") return tok_endclass; if (IdentifierStr == "PUBLIC") return tok_public; |
