Fix some C code that MSVC doesn't like

This commit is contained in:
Max Brunsfeld 2017-08-08 10:47:59 -07:00
parent 12623deb19
commit 3d351eac09
4 changed files with 7 additions and 9 deletions

View file

@ -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) {