diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 10:30:02 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 10:30:02 +0000 |
| commit | f5246db6d045ffb86d6717e1b1c37f03bcb2b75b (patch) | |
| tree | 468f4fba2e7ef75f29f90fd64af7d4e1fe05f50f /lib/Lexer | |
| parent | 066a378ca09ccc5d8074a942cf4bf1b9d4f40729 (diff) | |
feat(parser): parse OVERLOAD prefix on FUNCTION and PROCEDURE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/Lexer')
| -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 44d40e5..9956cd9 100644 --- a/lib/Lexer/Lexer.cc +++ b/lib/Lexer/Lexer.cc @@ -130,6 +130,7 @@ int Lexer::readToken() { if (IdentifierStr == "OR") return tok_or; if (IdentifierStr == "NOT") return tok_not; + if (IdentifierStr == "OVERLOAD") return tok_overload; if (IdentifierStr == "FUNCTION") return tok_function; if (IdentifierStr == "ENDFUNCTION") return tok_endfunction; if (IdentifierStr == "PROCEDURE") return tok_procedure; |
