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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user