From e847e4c53cf21fcb96f7ed7765e305a7ec8e6c19 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 08:31:27 +0000 Subject: feat(classes): parse DELETE destructor methods and DELETE statement Co-Authored-By: Claude Opus 5.5 --- lib/Lexer/Lexer.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Lexer/Lexer.cc') 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; -- cgit v1.3.1-4-g156e