fix(lib): fix segfault on ts_query_new with incompatible grammar version, close #1318
This commit is contained in:
parent
0e26fbe5e6
commit
52e6c900c3
5 changed files with 72 additions and 38 deletions
|
|
@ -131,6 +131,7 @@ typedef enum {
|
|||
TSQueryErrorField,
|
||||
TSQueryErrorCapture,
|
||||
TSQueryErrorStructure,
|
||||
TSQueryErrorLanguage,
|
||||
} TSQueryError;
|
||||
|
||||
/********************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue