@willbooster/tree-sitter-cpp 36.0.0 → 36.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +2 -2
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +2 -1
package/README.md
CHANGED
|
@@ -155,8 +155,8 @@ and the release build regenerate the parsers before compiling them.
|
|
|
155
155
|
- a check (`test/unit/grammarPackage.test.ts`) that `tree-sitter.json` is published in the npm package and the crate,
|
|
156
156
|
that the scanner headers are published in the crate, and that the vendored scanner headers match the installed
|
|
157
157
|
@willbooster/tree-sitter-c. After updating that dependency, run `script/copy-c-scanner`.
|
|
158
|
-
|
|
159
|
-
refer to the C repository. `src/cppTrivia.h` and `src/initializerConditional.h` are maintained here.
|
|
158
|
+
`script/copy-c-scanner` copies every header under the package's `src/`, which are verbatim copies; their generator
|
|
159
|
+
paths refer to the C repository. `src/cppTrivia.h` and `src/initializerConditional.h` are maintained here.
|
|
160
160
|
Review the C scanner dispatch and external-token order against `src/scanner.c` when updating the dependency;
|
|
161
161
|
- a check (`test/unit/runtimeVersion.test.ts`) that `@willbooster/web-tree-sitter` in `package.json` and
|
|
162
162
|
`willbooster-tree-sitter` in `Cargo.lock` are the same version, since the Wasm tests run on the former and the Rust
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/tree-sitter-cpp",
|
|
3
|
-
"version": "36.0.
|
|
3
|
+
"version": "36.0.1",
|
|
4
4
|
"description": "C++ grammar for tree-sitter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cpp",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/bun": "1.4.4",
|
|
47
47
|
"@vitest/browser-playwright": "5.1.0",
|
|
48
48
|
"@willbooster/oxlint-config": "1.4.9",
|
|
49
|
-
"@willbooster/tree-sitter-c": "40.0.
|
|
49
|
+
"@willbooster/tree-sitter-c": "40.0.4",
|
|
50
50
|
"@willbooster/wb": "23.5.0",
|
|
51
51
|
"@willbooster/web-tree-sitter": "23.0.2",
|
|
52
52
|
"conventional-changelog-conventionalcommits": "10.4.1",
|
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|
package/tree-sitter.json
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"src/macroProof.h",
|
|
24
24
|
"src/conditionalMacro.h",
|
|
25
25
|
"src/emptyDirectives.h",
|
|
26
|
+
"src/directiveScan.h",
|
|
26
27
|
"src/gnuRawString.h",
|
|
27
28
|
"src/initializerConditional.h",
|
|
28
29
|
"src/cppTrivia.h"
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
}
|
|
31
32
|
],
|
|
32
33
|
"metadata": {
|
|
33
|
-
"version": "36.0.
|
|
34
|
+
"version": "36.0.1",
|
|
34
35
|
"license": "MIT",
|
|
35
36
|
"description": "C++ grammar for tree-sitter",
|
|
36
37
|
"authors": [
|