diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-06 18:37:08 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-06 18:37:08 -0500 |
| commit | 73e559fbe4182828742ac1b1d108bcdc42bc46d6 (patch) | |
| tree | 22c4d6245114cf3ba72701dafe18b84ce72e3f66 /ast.h | |
| parent | 09423f6d42d86c62beefa4607fba41e3698f1850 (diff) | |
Support 'when' for literal values with equality checking
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -52,9 +52,7 @@ typedef struct arg_ast_s { } arg_ast_t; typedef struct when_clause_s { - ast_t *tag_name; - ast_list_t *args; - ast_t *body; + ast_t *pattern, *body; struct when_clause_s *next; } when_clause_t; |
