File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ tree-sitter-python = "=0.21.0"
3333tree-sitter-rust = " =0.21.2"
3434tree-sitter-preproc = { path = " ./tree-sitter-preproc" , version = " =0.20.2" }
3535tree-sitter-ccomment = { path = " ./tree-sitter-ccomment" , version = " =0.20.2" }
36- tree-sitter-mozcpp = { path = " ./tree-sitter-mozcpp" , version = " =0.20.2 " }
36+ tree-sitter-mozcpp = { path = " ./tree-sitter-mozcpp" , version = " =0.20.3 " }
3737tree-sitter-mozjs = { path = " ./tree-sitter-mozjs" , version = " =0.20.1" }
3838
3939[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ tree-sitter-python = "=0.21.0"
1717tree-sitter-rust = " =0.21.2"
1818tree-sitter-preproc = { path = " ../tree-sitter-preproc" , version = " =0.20.2" }
1919tree-sitter-ccomment = { path = " ../tree-sitter-ccomment" , version = " =0.20.2" }
20- tree-sitter-mozcpp = { path = " ../tree-sitter-mozcpp" , version = " =0.20.2 " }
20+ tree-sitter-mozcpp = { path = " ../tree-sitter-mozcpp" , version = " =0.20.3 " }
2121tree-sitter-mozjs = { path = " ../tree-sitter-mozjs" , version = " =0.20.1" }
2222
2323[profile .release ]
Original file line number Diff line number Diff line change 11[package ]
22name = " tree-sitter-mozcpp"
33description = " Mozcpp grammar for the tree-sitter parsing library"
4- version = " 0.20.2 "
4+ version = " 0.20.3 "
55authors = [" Calixte Denizet <cdenizet@mozilla.com>" ]
66license = " MIT"
77readme = " bindings/rust/README.md"
@@ -21,13 +21,13 @@ include = [
2121path = " bindings/rust/lib.rs"
2222
2323[dependencies ]
24- tree-sitter = " =0.20.10 "
24+ tree-sitter = " =0.22.6 "
2525
2626[build-dependencies ]
2727cc = " ^1.0"
2828# This dependency is not used at all for this crate, but it is here so that
2929# dependabot can send notifications when there are updates for this grammar
30- tree-sitter-cpp = " 0.20 .0"
30+ tree-sitter-cpp = " 0.22 .0"
3131
3232[package .metadata .cargo-udeps .ignore ]
3333build = [" tree-sitter-cpp" ]
Original file line number Diff line number Diff line change 1919//! }
2020//! "#;
2121//! let mut parser = Parser::new();
22- //! parser.set_language(tree_sitter_mozcpp::language()).expect("Error loading Mozcpp grammar");
22+ //! parser.set_language(& tree_sitter_mozcpp::language()).expect("Error loading Mozcpp grammar");
2323//! let parsed = parser.parse(code, None);
2424//! # let parsed = parsed.unwrap();
2525//! # let root = parsed.root_node();
@@ -58,7 +58,7 @@ mod tests {
5858 fn can_load_grammar ( ) {
5959 let mut parser = tree_sitter:: Parser :: new ( ) ;
6060 parser
61- . set_language ( super :: language ( ) )
61+ . set_language ( & super :: language ( ) )
6262 . expect ( "Error loading Mozcpp grammar" ) ;
6363 }
6464}
You can’t perform that action at this time.
0 commit comments