From 32b8c79fc2f492104bdc4ab0f0fe2e7ea7c1065e Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 15 Feb 2026 16:27:56 -0500 Subject: [PATCH] parser: Document parse_ifdef() Signed-off-by: Ian Moffett --- core/parser.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/parser.c b/core/parser.c index 6d62d4e..4e18e95 100644 --- a/core/parser.c +++ b/core/parser.c @@ -225,6 +225,14 @@ parse_ifdef(struct rifle_state *state, struct token *tok) return 0; } +/* + * Handle an '#ifndef' directive + * + * @state: Compiler state + * @tok: Last token + * + * Returns zero on success + */ static int parse_ifndef(struct rifle_state *state, struct token *tok) {