Fix travis build
Don't use C99 struct literal syntax in debugger header, because it's included by the tests, which are c++
This commit is contained in:
parent
22ee68e1a9
commit
ad9aee30e0
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ extern "C" {
|
|||
#include "tree_sitter/runtime.h"
|
||||
|
||||
static inline TSDebugger ts_debugger_null() {
|
||||
return (TSDebugger) { .data = NULL, .debug_fn = NULL, .release_fn = NULL, };
|
||||
TSDebugger debugger = { 0, 0, 0 };
|
||||
return debugger;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue