tree-sitter-lua: 0.0.19 -> 0.1.0; added dependency on tree-sitter-cli
This commit is contained in:
parent
41560e8cf2
commit
4987098aa5
@ -1,5 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32Td/2mZDshwXdhNLmdPQaPSOkFrIREaejCWY6NLad9PZwcBy3DKdNksqdLGouiNXR6IDcGVy+RqDoUyY7/CwQ4=
|
||||
SHA256 (Pkgfile) = e5344a9992db51c20dee6123661c29fb35029bf14504c0a8094670bfad64b808
|
||||
RWSagIOpLGJF3wnCs8ja0NoXLLaxReEg9gM56adGJ+nvUnu7m5Ahhrs1TP5ThTdVGuMiFkSle4nTSQoYs7RuCBoUoScUylvMJAs=
|
||||
SHA256 (Pkgfile) = 76b576619418e7c8f72e464a2669656fd7565dd2932442ac3d5680f7f2fe220d
|
||||
SHA256 (.footprint) = 89b6b143355e6434b0cf0971c05913f10b1b9589da2fd524b3ceef7e34571645
|
||||
SHA256 (tree-sitter-lua-0.0.19.tar.gz) = 974230f212d0049fce8e881b88b18eebbd05f1fd0edd16fe4ba5bdd2bcd78d08
|
||||
SHA256 (tree-sitter-lua-0.1.0.tar.gz) = 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722
|
||||
SHA256 (parser.patch) = 3d3600e573c94a84df51554231fe59f6c738a2872dcc5904c19bb1636056b730
|
||||
|
@ -1,16 +1,19 @@
|
||||
# Description: Lua grammar for tree-sitter
|
||||
# URL: https://github.com/MunifTanjim/tree-sitter-lua
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: npm tree-sitter
|
||||
# Depends on: npm tree-sitter-cli
|
||||
|
||||
name=tree-sitter-lua
|
||||
version=0.0.19
|
||||
version=0.1.0
|
||||
release=1
|
||||
source=(https://github.com/MunifTanjim/tree-sitter-lua/archive/v$version/$name-$version.tar.gz)
|
||||
source=(https://github.com/MunifTanjim/tree-sitter-lua/archive/v$version/$name-$version.tar.gz
|
||||
parser.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -Np1 -i $SRC/parser.patch
|
||||
|
||||
tree-sitter generate --log
|
||||
|
||||
cd src
|
||||
|
10
tree-sitter-lua/parser.patch
Normal file
10
tree-sitter-lua/parser.patch
Normal file
@ -0,0 +1,10 @@
|
||||
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 {
|
Loading…
x
Reference in New Issue
Block a user