Skip to content

Commit a45fda5

Browse files
committed
0.24.0
1 parent 280f627 commit a45fda5

File tree

13 files changed

+47
-40
lines changed

13 files changed

+47
-40
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.13)
22

33
project(tree-sitter-ocaml
4-
VERSION "0.23.2"
4+
VERSION "0.24.0"
55
DESCRIPTION "OCaml grammar for tree-sitter"
66
HOMEPAGE_URL "https://github.com/tree-sitter/tree-sitter-ocaml"
77
LANGUAGES C)

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tree-sitter-ocaml"
33
description = "OCaml grammar for tree-sitter"
4-
version = "0.23.2"
4+
version = "0.24.0"
55
license = "MIT"
66
readme = "bindings/rust/README.md"
77
keywords = ["incremental", "parsing", "tree-sitter", "ocaml"]

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ test:
1010
$(TS) parse examples/* --quiet --time
1111

1212
generate:
13-
cd grammars/ocaml && $(TS) generate --no-bindings
14-
cd grammars/interface && $(TS) generate --no-bindings
15-
cd grammars/type && $(TS) generate --no-bindings
13+
cd grammars/ocaml && $(TS) generate
14+
cd grammars/interface && $(TS) generate
15+
cd grammars/type && $(TS) generate
1616

1717
.PHONY: all install uninstall clean test update generate

bindings/rust/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ way.)
1616

1717
```toml
1818
[dependencies]
19-
tree-sitter = "0.23"
20-
tree-sitter-ocaml = "0.23"
19+
tree-sitter = "0.24"
20+
tree-sitter-ocaml = "0.24"
2121
```
2222

2323
## Usage

common/common.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ifeq ($(OS),Windows_NT)
22
$(error Windows is not supported)
33
endif
44

5-
VERSION := 0.23.2
5+
VERSION := 0.24.0
66

77
# repository
88
SRC_DIR := src

grammars/interface/src/tree_sitter/array.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extern "C" {
1414
#include <string.h>
1515

1616
#ifdef _MSC_VER
17+
#pragma warning(push)
1718
#pragma warning(disable : 4101)
1819
#elif defined(__GNUC__) || defined(__clang__)
1920
#pragma GCC diagnostic push
@@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
278279
#define _compare_int(a, b) ((int)*(a) - (int)(b))
279280

280281
#ifdef _MSC_VER
281-
#pragma warning(default : 4101)
282+
#pragma warning(pop)
282283
#elif defined(__GNUC__) || defined(__clang__)
283284
#pragma GCC diagnostic pop
284285
#endif

grammars/ocaml/src/tree_sitter/array.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extern "C" {
1414
#include <string.h>
1515

1616
#ifdef _MSC_VER
17+
#pragma warning(push)
1718
#pragma warning(disable : 4101)
1819
#elif defined(__GNUC__) || defined(__clang__)
1920
#pragma GCC diagnostic push
@@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
278279
#define _compare_int(a, b) ((int)*(a) - (int)(b))
279280

280281
#ifdef _MSC_VER
281-
#pragma warning(default : 4101)
282+
#pragma warning(pop)
282283
#elif defined(__GNUC__) || defined(__clang__)
283284
#pragma GCC diagnostic pop
284285
#endif

grammars/type/src/tree_sitter/array.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extern "C" {
1414
#include <string.h>
1515

1616
#ifdef _MSC_VER
17+
#pragma warning(push)
1718
#pragma warning(disable : 4101)
1819
#elif defined(__GNUC__) || defined(__clang__)
1920
#pragma GCC diagnostic push
@@ -278,7 +279,7 @@ static inline void _array__splice(Array *self, size_t element_size,
278279
#define _compare_int(a, b) ((int)*(a) - (int)(b))
279280

280281
#ifdef _MSC_VER
281-
#pragma warning(default : 4101)
282+
#pragma warning(pop)
282283
#elif defined(__GNUC__) || defined(__clang__)
283284
#pragma GCC diagnostic pop
284285
#endif

package-lock.json

Lines changed: 24 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)