tree-sitter-lua: 0.1.0 -> 0.2.0

This commit is contained in:
Tim Biermann 2024-09-15 11:20:11 +02:00
parent cacfb4dbe1
commit 060d929ed3
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 5 additions and 19 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wnCs8ja0NoXLLaxReEg9gM56adGJ+nvUnu7m5Ahhrs1TP5ThTdVGuMiFkSle4nTSQoYs7RuCBoUoScUylvMJAs=
SHA256 (Pkgfile) = 76b576619418e7c8f72e464a2669656fd7565dd2932442ac3d5680f7f2fe220d
RWSagIOpLGJF3+gxshVwXBMi3GcPnaZ2rdtSXYnJKX1fmyimGhn91VMD584FYmKMdoejlcVmnf6M938Vu9uFJNK5wwZqgcOZ3QY=
SHA256 (Pkgfile) = 50032834f26d4ed5d218591326245171a04a00e2b83c742b9b1df171d39ebd6f
SHA256 (.footprint) = 89b6b143355e6434b0cf0971c05913f10b1b9589da2fd524b3ceef7e34571645
SHA256 (tree-sitter-lua-0.1.0.tar.gz) = 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722
SHA256 (parser.patch) = 3d3600e573c94a84df51554231fe59f6c738a2872dcc5904c19bb1636056b730
SHA256 (tree-sitter-lua-0.2.0.tar.gz) = 6c41227cd0a59047b19d31f0031d4d901f08bfd78d6fc7f55c89e5b8374c794e

View File

@ -4,16 +4,13 @@
# Depends on: npm tree-sitter-cli
name=tree-sitter-lua
version=0.1.0
version=0.2.0
release=1
source=(https://github.com/MunifTanjim/tree-sitter-lua/archive/v$version/$name-$version.tar.gz
parser.patch)
source=(https://github.com/MunifTanjim/tree-sitter-lua/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
patch -Np1 -i $SRC/parser.patch
tree-sitter generate --log
cd src

View File

@ -1,10 +0,0 @@
diff -Naur tree-sitter-lua-0.0.19-old/src/scanner.c tree-sitter-lua-0.0.19/src/scanner.c
--- tree-sitter-lua-0.0.19-old/src/scanner.c 2024-03-11 19:03:54.717403600 +0100
+++ tree-sitter-lua-0.0.19/src/scanner.c 2024-03-11 19:04:13.228335351 +0100
@@ -1,5 +1,5 @@
#include <stdio.h>
-#include <tree_sitter/parser.h>
+#include "tree_sitter/parser.h"
#include <wctype.h>
enum TokenType {