diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-10 16:03:41 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-10 16:03:41 -0400 |
| commit | b37bd70b602b7ac6427dcf29f7cd9241b0a7ae09 (patch) | |
| tree | afa3ba4caebb728c43b96e176b8a569b3ad5f469 /ast.h | |
| parent | 671f81137ee2e5de632526109e02c4b79197e432 (diff) | |
For tables, deprecate support for square bracket indexing and .default
values, replacing them with a `:bump()` function for tables with numeric
values. This means that counters can be implemented easily without the
need to mask complexity.
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ struct ast_s { } Set; struct { type_ast_t *key_type, *value_type; - ast_t *fallback, *default_value; + ast_t *fallback; ast_list_t *entries; } Table; struct { |
