From 1cec086a6034ad546977cae7aeaf4bb876d21970 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 16:54:36 -0400 Subject: Deprecate `>> x ... = val` form of doctests and rename them to 'debug logs', also add multi-expression support --- src/compile/statements.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compile/statements.c') diff --git a/src/compile/statements.c b/src/compile/statements.c index a7705adc..37eff680 100644 --- a/src/compile/statements.c +++ b/src/compile/statements.c @@ -36,7 +36,7 @@ static Text_t compile_simple_update_assignment(env_t *env, ast_t *ast, const cha static Text_t _compile_statement(env_t *env, ast_t *ast) { switch (ast->tag) { case When: return compile_when_statement(env, ast); - case DocTest: return compile_doctest(env, ast); + case DebugLog: return compile_debug_log(env, ast); case Assert: return compile_assertion(env, ast); case Declare: { DeclareMatch(decl, ast, Declare); -- cgit v1.2.3