From a91bd145008432fb8c5d91d94ab6f50473a277f5 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 27 Oct 2026 13:55:36 +0000 Subject: feat(preprocessor): add file-local conditional switches Co-Authored-By: Claude Opus 5.5 --- include/cps/Lexer.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/cps/Lexer.h') 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 { -- cgit v1.3.1-4-g156e