File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 88/build /
99log.html
1010tree-sitter-elixir.wasm
11+
12+ # Files generated by Cargo
13+ /target /
14+ Cargo.lock
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ fn main() {
2222 c_config. compile ( "parser" ) ;
2323 println ! ( "cargo:rerun-if-changed={}" , parser_path. to_str( ) . unwrap( ) ) ;
2424
25- // If your language uses an external scanner written in C++,
26- // then include this block of code:
27-
28- /*
2925 let mut cpp_config = cc:: Build :: new ( ) ;
3026 cpp_config. cpp ( true ) ;
3127 cpp_config. include ( & src_dir) ;
@@ -36,5 +32,4 @@ fn main() {
3632 cpp_config. file ( & scanner_path) ;
3733 cpp_config. compile ( "scanner" ) ;
3834 println ! ( "cargo:rerun-if-changed={}" , scanner_path. to_str( ) . unwrap( ) ) ;
39- */
4035}
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json");
3535
3636// Uncomment these to include any queries that this grammar contains
3737
38- // pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm");
38+ pub const HIGHLIGHTS_QUERY : & ' static str = include_str ! ( "../../queries/highlights.scm" ) ;
3939// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm");
4040// pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm");
41- // pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");
41+ pub const TAGS_QUERY : & ' static str = include_str ! ( "../../queries/tags.scm" ) ;
4242
4343#[ cfg( test) ]
4444mod tests {
You can’t perform that action at this time.
0 commit comments