Skip to content

Commit 2497789

Browse files
Merge pull request #16 from SpontanCombust/dev
2 parents b9b9e45 + 978657f commit 2497789

14 files changed

+12069
-12410
lines changed

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-witcherscript"
33
description = "WitcherScript grammar for the tree-sitter parsing library"
4-
version = "0.12.0"
4+
version = "0.13.0"
55
readme = "README.md"
66
keywords = ["incremental", "parsing", "tree-sitter", "witcherscript"]
77
categories = ["parsing", "text-editors"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION := 0.12.0
1+
VERSION := 0.13.0
22

33
LANGUAGE_NAME := tree-sitter-witcherscript
44

grammar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ module.exports = grammar({
194194
$._state_decl_intro,
195195
$._state_decl_parent,
196196
optional($._class_base),
197-
field('definition', alias($.class_def, $.state_def))
197+
field('definition', $.class_def)
198198
),
199199

200200
_state_decl_intro: $ => seq(
@@ -348,7 +348,7 @@ module.exports = grammar({
348348

349349

350350
_func_definition: $ => choice(
351-
alias($.func_block, $.func_def),
351+
$.func_block,
352352
$.nop
353353
),
354354

@@ -412,7 +412,7 @@ module.exports = grammar({
412412
$.continue_stmt,
413413
$.return_stmt,
414414
$.delete_stmt,
415-
alias($.func_block, $.compound_stmt),
415+
$.func_block,
416416
$.expr_stmt,
417417
$.nop
418418
),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tree-sitter-witcherscript",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "WitcherScript grammar for tree-sitter",
55
"main": "bindings/node",
66
"types": "bindings/node",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "tree-sitter-witcherscript"
77
description = "Witcherscript grammar for tree-sitter"
8-
version = "0.12.0"
8+
version = "0.13.0"
99
keywords = ["incremental", "parsing", "tree-sitter", "witcherscript"]
1010
classifiers = [
1111
"Intended Audience :: Developers",

src/grammar.json

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

0 commit comments

Comments
 (0)