Skip to content

Commit

Permalink
Use git
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Sep 29, 2024
1 parent 7ae74f3 commit 5904c93
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion takolib/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ pub fn parse(file: &Path, input: &str, _tokens: &[Token]) -> Result<Ast, TError>
let mut parser = TSParser::new();
// TODO: Set logger.
parser
.set_language(tree_sitter_tako::LANGUAGE)
.set_language(&tree_sitter_tako::LANGUAGE.into())
.expect("Error loading Tako parser");

let old_tree: Option<&Tree> = None;
Expand Down
2 changes: 1 addition & 1 deletion tree-sitter-tako/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter-language = "0.1.0"
tree-sitter-language = { git = "https://github.com/tree-sitter/tree-sitter" }

[dev-dependencies]
tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter" }
Expand Down
2 changes: 1 addition & 1 deletion tree-sitter-tako/bindings/rust/lib.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5904c93

Please sign in to comment.