diff options
| author | Stefan Kangas | 2022-12-15 21:13:13 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-15 21:13:13 +0100 |
| commit | fa70076974b5f9ed21438946fb6a1a8bf76b7c5a (patch) | |
| tree | f6bb20b15fde5eec55dd757e6191cfb13a26d172 /admin/notes | |
| parent | db69249b761a80158c1469b2a169d6f5c8509ae1 (diff) | |
| parent | fafcf02c856ef8fd712ff75e8999dfb0f6d97f07 (diff) | |
| download | emacs-fa70076974b5f9ed21438946fb6a1a8bf76b7c5a.tar.gz emacs-fa70076974b5f9ed21438946fb6a1a8bf76b7c5a.zip | |
Merge from origin/emacs-29
fafcf02c856 Fix syntax tables of tree-sitter modes (bug#59807)
91b8d9b7db4 ; * admin/notes/tree-sitter/build-module/build.sh: Minor ...
1b0e282a7f8 ; Comment and stylistic change in treesit.el
489b02d03cf * doc/misc/Makefile.in (need_emacsver): Add use-package.
Diffstat (limited to 'admin/notes')
| -rwxr-xr-x | admin/notes/tree-sitter/build-module/build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh index d020ee92c39..4195ea58c3c 100755 --- a/admin/notes/tree-sitter/build-module/build.sh +++ b/admin/notes/tree-sitter/build-module/build.sh | |||
| @@ -14,17 +14,17 @@ echo "Building ${lang}" | |||
| 14 | 14 | ||
| 15 | ### Retrieve sources | 15 | ### Retrieve sources |
| 16 | 16 | ||
| 17 | namespace="tree-sitter" | 17 | org="tree-sitter" |
| 18 | repo="tree-sitter-${lang}" | 18 | repo="tree-sitter-${lang}" |
| 19 | sourcedir="tree-sitter-${lang}/src" | 19 | sourcedir="tree-sitter-${lang}/src" |
| 20 | grammardir="tree-sitter-${lang}" | 20 | grammardir="tree-sitter-${lang}" |
| 21 | 21 | ||
| 22 | case "${lang}" in | 22 | case "${lang}" in |
| 23 | "dockerfile") | 23 | "dockerfile") |
| 24 | namespace="camdencheek" | 24 | org="camdencheek" |
| 25 | ;; | 25 | ;; |
| 26 | "cmake") | 26 | "cmake") |
| 27 | namespace="uyha" | 27 | org="uyha" |
| 28 | ;; | 28 | ;; |
| 29 | "typescript") | 29 | "typescript") |
| 30 | sourcedir="tree-sitter-typescript/typescript/src" | 30 | sourcedir="tree-sitter-typescript/typescript/src" |
| @@ -37,7 +37,7 @@ case "${lang}" in | |||
| 37 | ;; | 37 | ;; |
| 38 | esac | 38 | esac |
| 39 | 39 | ||
| 40 | git clone "https://github.com/${namespace}/${repo}.git" \ | 40 | git clone "https://github.com/${org}/${repo}.git" \ |
| 41 | --depth 1 --quiet | 41 | --depth 1 --quiet |
| 42 | cp "${grammardir}"/grammar.js "${sourcedir}" | 42 | cp "${grammardir}"/grammar.js "${sourcedir}" |
| 43 | # We have to go into the source directory to compile, because some | 43 | # We have to go into the source directory to compile, because some |