Fix some C code that MSVC doesn't like
This commit is contained in:
parent
12623deb19
commit
3d351eac09
4 changed files with 7 additions and 9 deletions
|
|
@ -7,11 +7,8 @@ typedef struct {
|
|||
} ReusableNode;
|
||||
|
||||
static inline ReusableNode reusable_node_new(Tree *tree) {
|
||||
return (ReusableNode){
|
||||
.tree = tree,
|
||||
.byte_index = 0,
|
||||
.preceding_external_token = NULL,
|
||||
};
|
||||
ReusableNode result = {tree, 0, NULL};
|
||||
return result;
|
||||
}
|
||||
|
||||
static inline void reusable_node_pop(ReusableNode *self) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue