aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 16:54:36 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 16:54:36 -0400
commit1cec086a6034ad546977cae7aeaf4bb876d21970 (patch)
treecd2889aea7ca830359ba329a3f82b96e706bcdee /src/ast.h
parent0ab878ff4f72f7f6f6f64c1fc5d8023cd19fbe82 (diff)
Deprecate `>> x ... = val` form of doctests and rename them to 'debugdoctests-to-debuglog
logs', also add multi-expression support
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ast.h b/src/ast.h
index 90191219..142bea19 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -270,7 +270,7 @@ typedef enum {
Index,
FieldAccess,
NonOptional,
- DocTest,
+ DebugLog,
Assert,
Use,
InlineCCode,
@@ -439,9 +439,8 @@ struct ast_s {
ast_t *value;
} NonOptional;
struct {
- ast_t *expr, *expected;
- bool skip_source : 1;
- } DocTest;
+ ast_list_t *values;
+ } DebugLog;
struct {
ast_t *expr, *message;
} Assert;