diff options
Diffstat (limited to 'AGENTS/EXTENDING.md')
| -rw-r--r-- | AGENTS/EXTENDING.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
