parser/ast: Remove union name in ast_node_t

Destructures the names of the union into the namespace of the
structure itself; bit easier to use IMO.
This commit is contained in:
2026-01-29 03:15:51 +00:00
parent 8764b65aff
commit 7e3dd2679d
2 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ typedef struct
ast_known_t as_known;
sv_t as_symbol;
sv_t as_string;
} value;
};
} ast_node_t;
ast_node_t ast_node_known(u64 byte, ast_known_t known);