aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-17 15:02:01 +0000
committer_ov4 <ov4@ov4.org>2026-10-17 15:02:01 +0000
commita29cb23c5517fd4f8f5524fdf38b67ff5fe4a902 (patch)
treea3bfa1a30a16c03f420cbe706fd42143d653064d /include/cps/Lexer.h
parent4a34e970fb224be7640883f6b0dfa602157759f4 (diff)
feat(parser): parse EXTERN "C" declarations and INCLUDE_OBJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index 40f168e..e2f5fdc 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -103,6 +103,9 @@ enum Token {
tok_new = -613, tok_delete = -614,
tok_include = -650, tok_global = -651, tok_endglobal = -652,
+ tok_include_obj = -653, tok_extern = -654,
+ tok_extern_function = -655, tok_extern_procedure = -656,
+ tok_ellipsis = -657, // ...
tok_try = -700,
tok_catch = -701,