File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 8
8
/build /
9
9
log.html
10
10
tree-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() {
22
22
c_config. compile ( "parser" ) ;
23
23
println ! ( "cargo:rerun-if-changed={}" , parser_path. to_str( ) . unwrap( ) ) ;
24
24
25
- // If your language uses an external scanner written in C++,
26
- // then include this block of code:
27
-
28
- /*
29
25
let mut cpp_config = cc:: Build :: new ( ) ;
30
26
cpp_config. cpp ( true ) ;
31
27
cpp_config. include ( & src_dir) ;
@@ -36,5 +32,4 @@ fn main() {
36
32
cpp_config. file ( & scanner_path) ;
37
33
cpp_config. compile ( "scanner" ) ;
38
34
println ! ( "cargo:rerun-if-changed={}" , scanner_path. to_str( ) . unwrap( ) ) ;
39
- */
40
35
}
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");
35
35
36
36
// Uncomment these to include any queries that this grammar contains
37
37
38
- // pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm");
38
+ pub const HIGHLIGHTS_QUERY : & ' static str = include_str ! ( "../../queries/highlights.scm" ) ;
39
39
// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm");
40
40
// 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" ) ;
42
42
43
43
#[ cfg( test) ]
44
44
mod tests {
You can’t perform that action at this time.
0 commit comments