Skip to content

Commit

Permalink
chore: bump version to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Mar 26, 2024
1 parent 3ebd060 commit bd17c82
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-meson"
description = "meson grammar for the tree-sitter parsing library"
version = "0.0.2"
version = "1.2.1"
keywords = ["incremental", "parsing", "meson"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter/tree-sitter-meson"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-meson",
"version": "1.0.0",
"version": "1.2.1",
"description": "A tree-sitter for meson",
"main": "bindings/node",
"types": "bindings/node",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-meson"
description = "Meson grammar for tree-sitter"
version = "0.0.1"
version = "1.2.1"
keywords = ["incremental", "parsing", "tree-sitter", "meson"]
classifiers = [
"Intended Audience :: Developers",
Expand Down
4 changes: 3 additions & 1 deletion src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -30292,7 +30292,9 @@ static const TSParseActionEntry ts_parse_actions[] = {
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
Expand Down
9 changes: 6 additions & 3 deletions src/tree_sitter/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,12 @@ extern "C" {
/// Increase the array's size by `count` elements.
/// New elements are zero-initialized.
#define array_grow_by(self, count) \
(_array__grow((Array *)(self), count, array_elem_size(self)), \
memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)), \
(self)->size += (count))
do { \
if ((count) == 0) break; \
_array__grow((Array *)(self), count, array_elem_size(self)); \
memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \
(self)->size += (count); \
} while (0)

/// Append all elements from one array to the end of another.
#define array_push_all(self, other) \
Expand Down

0 comments on commit bd17c82

Please sign in to comment.