@willbooster/tree-sitter-cpp 1.2.3 → 1.2.4
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 +3 -2
- package/package.json +1 -1
- package/tree-sitter-cpp.wasm +0 -0
- package/tree-sitter.json +1 -1
package/README.md
CHANGED
|
@@ -114,8 +114,9 @@ that runs here. Run other CLI commands through it as well (e.g. `script/tree-sit
|
|
|
114
114
|
time, since consumers parse files while they are being edited. It loads the Wasm build through
|
|
115
115
|
@willbooster/web-tree-sitter, which `bun run build/ci` rebuilds after regenerating the parser;
|
|
116
116
|
- a check (`test/unit/expressionKeywordParameter.test.ts`) that every keyword that can start an expression but not a
|
|
117
|
-
parameter is expected in
|
|
118
|
-
that `
|
|
117
|
+
parameter is expected in parameter lists, so that `long(n)(sizeof(b));` stays an initialization, and that the
|
|
118
|
+
keyword-led arguments that make `Foo* p(nullptr);` a variable start only with such keywords or `this`, which starts
|
|
119
|
+
a parameter only when a declaration follows it;
|
|
119
120
|
- a check (`test/unit/queries.test.ts`) that the queries `tree-sitter.json` lists compile against the grammar, are
|
|
120
121
|
published in the npm package and the crate, and that `queries/c/` matches the queries of the installed
|
|
121
122
|
@willbooster/tree-sitter-c; after updating that dependency, `script/copy-c-queries` refreshes the copy;
|
package/package.json
CHANGED
package/tree-sitter-cpp.wasm
CHANGED
|
Binary file
|