aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Lexer.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-27 13:55:36 +0000
committer_ov4 <ov4@ov4.org>2026-10-27 13:55:36 +0000
commita91bd145008432fb8c5d91d94ab6f50473a277f5 (patch)
tree87af3ebcd2888e129bad9863574567e1c97bb18b /include/cps/Lexer.h
parent24f410430b33aaf1f288b83ea37e18fa959e9d3e (diff)
feat(preprocessor): add file-local conditional switches
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include/cps/Lexer.h')
-rw-r--r--include/cps/Lexer.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/cps/Lexer.h b/include/cps/Lexer.h
index bec1233..05fb857 100644
--- a/include/cps/Lexer.h
+++ b/include/cps/Lexer.h
@@ -113,7 +113,13 @@ enum Token {
tok_try = -700,
tok_catch = -701,
tok_endtry = -702,
- tok_throw = -703
+ tok_throw = -703,
+
+ tok_pp_define = -710,
+ tok_pp_undef = -711,
+ tok_pp_ifdef = -712,
+ tok_pp_ifndef = -713,
+ tok_pp_endif = -714
};
class Lexer {