diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-13 13:45:03 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-13 13:45:03 +0000 |
| commit | 05cdcb6a1cc3d4de3a0b3d12d4babcd6438b4754 (patch) | |
| tree | d3e482d215d9d5feba8b40f9de15d6962f1e5bac /lib/Lexer | |
| parent | f5a2541ed3faf9a942b867e2d54577352153afce (diff) | |
Add record-derived classes with explicit field visibility
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'lib/Lexer')
| -rw-r--r-- | lib/Lexer/Lexer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc index 4f7f997..a71b37c 100644 --- a/lib/Lexer/Lexer.cc +++ b/lib/Lexer/Lexer.cc @@ -132,6 +132,10 @@ int Lexer::gettok() { if (IdentifierStr == "ENDTYPE") return tok_endtype; if (IdentifierStr == "SET") return tok_set; if (IdentifierStr == "DEFINE") return tok_define; + if (IdentifierStr == "CLASS") return tok_class; + if (IdentifierStr == "ENDCLASS") return tok_endclass; + if (IdentifierStr == "PUBLIC") return tok_public; + if (IdentifierStr == "PRIVATE") return tok_private; return tok_identifier; } |
