tree-sitter-beancount 2.3.0 → 2.3.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.3.2](https://github.com/polarmutex/tree-sitter-beancount/compare/v2.3.1...v2.3.2) (2024-03-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * binding and lock files for rust ([0727d62](https://github.com/polarmutex/tree-sitter-beancount/commit/0727d62af0dea0a78bbf132f53876888fc656c19))
9
+ * fix other scanner.cc references ([1f19abf](https://github.com/polarmutex/tree-sitter-beancount/commit/1f19abf1e162e1828013cb5434c6cf30f4054e80))
10
+
11
+ ## [2.3.1](https://github.com/polarmutex/tree-sitter-beancount/compare/v2.3.0...v2.3.1) (2024-02-29)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * cargo version ([01cc2ca](https://github.com/polarmutex/tree-sitter-beancount/commit/01cc2ca9073b1dab75e6d7996f48331b0c3f9057))
17
+
3
18
  ## [2.3.0](https://github.com/polarmutex/tree-sitter-beancount/compare/v2.2.0...v2.3.0) (2024-02-29)
4
19
 
5
20
 
package/Cargo.lock CHANGED
@@ -52,7 +52,7 @@ dependencies = [
52
52
 
53
53
  [[package]]
54
54
  name = "tree-sitter-beancount"
55
- version = "2.1.1"
55
+ version = "2.3.2"
56
56
  dependencies = [
57
57
  "cc",
58
58
  "tree-sitter",
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "tree-sitter-beancount"
3
3
  description = "beancount grammar for the tree-sitter parsing library"
4
- version = "2.2.0" # {x-release-please-version}
4
+ version = "2.3.2" # {x-release-please-version}
5
5
  keywords = ["incremental", "parsing", "beancount", "tree-sitter"]
6
6
  categories = ["parsing", "text-editors"]
7
7
  repository = "https://github.com/polarmutex/tree-sitter-beancount"
package/Package.swift CHANGED
@@ -12,7 +12,7 @@ let package = Package(
12
12
  path: ".",
13
13
  sources: [
14
14
  "src/parser.c",
15
- "src/scanner.cc",
15
+ "src/scanner.c",
16
16
  ],
17
17
  publicHeadersPath: "bindings/swift",
18
18
  cSettings: [.headerSearchPath("src")])
package/binding.gyp CHANGED
@@ -10,6 +10,7 @@
10
10
  "bindings/node/binding.cc",
11
11
  # If your language uses an external scanner, add it here.
12
12
  "src/parser.c",
13
+ # "src/scanner.c",
13
14
  ],
14
15
  "cflags_c": [
15
16
  "-std=c99",
@@ -6,18 +6,17 @@ fn main() {
6
6
  c_config
7
7
  .flag_if_supported("-Wno-unused-parameter")
8
8
  .flag_if_supported("-Wno-unused-but-set-variable")
9
- .flag_if_supported("-Wno-trigraphs");
9
+ .flag_if_supported("-Wno-trigraphs")
10
+ .flag_if_supported("-O");
10
11
  let parser_path = src_dir.join("parser.c");
11
12
  c_config.file(&parser_path);
12
13
 
13
14
  // If your language uses an external scanner written in C,
14
15
  // then include this block of code:
15
16
 
16
- /*
17
17
  let scanner_path = src_dir.join("scanner.c");
18
18
  c_config.file(&scanner_path);
19
19
  println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
20
- */
21
20
 
22
21
  c_config.compile("parser");
23
22
  println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());
package/flake.nix CHANGED
@@ -84,6 +84,7 @@
84
84
  nodePackages.node-gyp
85
85
  # broken (tree-sitter.override {webUISupport = true;})
86
86
  tree-sitter
87
+ cargo
87
88
  ];
88
89
 
89
90
  inherit (checks.pre-commit) shellHook;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tree-sitter-beancount",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "a tree-sitter parser for the beancount syntax",
5
5
  "main": "bindings/node",
6
6
  "scripts": {