Fix missing field warnings for debugger structs

This commit is contained in:
Max Brunsfeld 2014-10-14 22:50:24 -07:00
parent b468458929
commit b5d022a70c
4 changed files with 25 additions and 4 deletions

View file

@ -7,6 +7,7 @@
#include "runtime/stack.h"
#include "runtime/parser.h"
#include "runtime/length.h"
#include "runtime/debugger.h"
/*
* Debugging
@ -283,7 +284,7 @@ TSParser ts_parser_make() {
return (TSParser) { .lexer = ts_lexer_make(),
.stack = ts_stack_make(),
.right_stack = ts_stack_make(),
.debugger = (TSDebugger) {} };
.debugger = ts_debugger_null() };
}
void ts_parser_destroy(TSParser *parser) {