From caa88a9b36d9e1dfae40ecb31aee05bc2891fa17 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 27 Oct 2026 14:07:24 +0000 Subject: docs(preprocessor): document switches and library regions Add manuals and aliases for all five PP directives, replace the retired #LIB page, and update compiler and shared-editor architecture notes. Co-Authored-By: Claude Opus 5.5 --- AGENTS/EXTENDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AGENTS/EXTENDING.md') diff --git a/AGENTS/EXTENDING.md b/AGENTS/EXTENDING.md index 358e80e..dc3be08 100644 --- a/AGENTS/EXTENDING.md +++ b/AGENTS/EXTENDING.md @@ -3,7 +3,7 @@ Step-by-step patterns for adding features. Read [CONVENTIONS.md](CONVENTIONS.md) first — every recipe below assumes those invariants. -**New statement:** token in `Lexer.h` enum + keyword match in `Lexer.cc`'s if-chain → +**New statement:** token in `Lexer.h` enum + entry in `Lexer.cc`'s Keywords table → node class in `AST.h` or a feature header (`FunctionAST.h`/`FileAST.h` precedent; unique_ptr children, move ctor, raw-ptr getters) → `ParseXxx` in the matching `Parser*.cc` file + branch in `ParseStatementImpl` (block statements parse their body with -- cgit v1.3.1-4-g156e