pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/tree-sitter-c-sharp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 22 18:58:38 UTC 2026

Modified Files:
        pkgsrc/textproc/tree-sitter-c-sharp: Makefile distinfo

Log Message:
tree-sitter-c-sharp: update to 0.24.0.

C# 14

    Add C# 14 language support, including extension declarations (#429)
    Parse file-based app directives such as #:package and #:sdk (#462)

Parsing fixes

    Parse (IDENT) && EXPR as a logical AND rather than a cast (#430)
    Parse *(T*)p and *(p + 1) as dereferences (#464)
    Allow ref before partial in struct modifiers (#464)
    Accept checked and unchecked expressions as constant patterns (#464)
    Parse lambdas whose first parameter is typed with in or out (#464)
    Parse else, method bodies and returns that span #if branches (#464)
    Let an #if block hold whole elements of an initializer or collection (#464)
    Open an interpolation hole straight after an escaped {{ (#448)
    End a verbatim interpolated string at one quote, not at a run of them (#466)
    Preserve slice-only list patterns before logical operators (#444)
    Stop reading when after a list pattern as its designation (#467)

Other changes

    Highlight unsafe block statements (#422)
    Build with tree-sitter CLI 0.27 (#465)
    Add a schema link to tree-sitter.json (#408)

Upgrade notes

    Queries: some code now parses to a different tree, so queries that matched the old shape may need updating.
    New node types: directive_kind, directive_name, directive_separator, directive_value, extension_body, extension_declaration, ignored_directive, receiver_parameter and slice_pattern.
    New fields: body on preproc_if, preproc_elif and preproc_else; kind, name, separator and value on ignored_directive; name and type on receiver_parameter.
    Python: the package now requires tree-sitter 0.25 or later (#465).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/tree-sitter-c-sharp/Makefile \
    pkgsrc/textproc/tree-sitter-c-sharp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/tree-sitter-c-sharp/Makefile
diff -u pkgsrc/textproc/tree-sitter-c-sharp/Makefile:1.3 pkgsrc/textproc/tree-sitter-c-sharp/Makefile:1.4
--- pkgsrc/textproc/tree-sitter-c-sharp/Makefile:1.3    Sun Apr 19 17:21:01 2026
+++ pkgsrc/textproc/tree-sitter-c-sharp/Makefile        Sun Nov 22 18:58:38 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2026/04/19 17:21:01 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/11/22 18:58:38 wiz Exp $
 
-DISTNAME=      tree-sitter-c-sharp-0.23.5
+DISTNAME=      tree-sitter-c-sharp-0.24.0
 CATEGORIES=    textproc devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tree-sitter/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/tree-sitter-c-sharp/distinfo
diff -u pkgsrc/textproc/tree-sitter-c-sharp/distinfo:1.3 pkgsrc/textproc/tree-sitter-c-sharp/distinfo:1.4
--- pkgsrc/textproc/tree-sitter-c-sharp/distinfo:1.3    Sun Apr 19 17:21:01 2026
+++ pkgsrc/textproc/tree-sitter-c-sharp/distinfo        Sun Nov 22 18:58:38 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2026/04/19 17:21:01 wiz Exp $
+$NetBSD: distinfo,v 1.4 2026/11/22 18:58:38 wiz Exp $
 
-BLAKE2s (tree-sitter-c-sharp-0.23.5.tar.gz) = 9eda8ff73bb1fbe052d9a533fbd339fa8e89a2a7c145c33dc272269b6d855818
-SHA512 (tree-sitter-c-sharp-0.23.5.tar.gz) = c99f7d776bd8de04ebf8fbeaa31b98f37a3c9d8ec307c8415aa2172fa281e9332f0c2d4ef230421448ade5d51c7c7032e82cd7834ac74a999dc21f2821658223
-Size (tree-sitter-c-sharp-0.23.5.tar.gz) = 1365622 bytes
+BLAKE2s (tree-sitter-c-sharp-0.24.0.tar.gz) = 46cd93640e4e96efab918edf0876dda6d81d5076a0e9b4f02af915c4199fcc20
+SHA512 (tree-sitter-c-sharp-0.24.0.tar.gz) = 3e71260f564be29c5014c2f14ba09ff40b49721ea3231aff88acb8fdd73599ee6284c0ad142dfbfeca49e4c192f6d2b309c3d38e41e32be4bb74528653c7b9f6
+Size (tree-sitter-c-sharp-0.24.0.tar.gz) = 1799371 bytes



Home | Main Index | Thread Index | Old Index