@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 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 the parameters of the function declarators that compete with a direct initialization, so
118
- that `long(n)(sizeof(b));` stays an initialization;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-cpp",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "C++ grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  ],
26
26
  "metadata": {
27
- "version": "1.2.3",
27
+ "version": "1.2.4",
28
28
  "license": "MIT",
29
29
  "description": "C++ grammar for tree-sitter",
30
30
  "authors": [