include language.h in query.c (#507)

Building `query.c` requires `TREE_SITTER_LANGUAGE_VERSION_WITH_SYMBOL_DEDUPING` which is defined in `language.h`.

It produces an error:
```
query.c:744:40: error: use of undeclared identifier 'TREE_SITTER_LANGUAGE_VERSION_WITH_SYMBOL_DEDUPING'
```

when building with cgo.
This commit is contained in:
Maxim Sukharev 2019-12-16 18:38:18 +01:00 committed by Max Brunsfeld
parent 9a0cfa2376
commit edb5693100

View file

@ -2,6 +2,7 @@
#include "./alloc.h"
#include "./array.h"
#include "./bits.h"
#include "./language.h"
#include "./point.h"
#include "./tree_cursor.h"
#include "./unicode.h"