revert accidentally included change build
@@ -4,10 +4,14 @@ fn main() {
let dir = Path::new("src");
cc::Build::new()
- .cpp(true)
.include(&dir)
.file(dir.join("parser.c"))
- .file(dir.join("scanner.cc"))
.flag_if_supported("-Wno-unused-but-set-variable")
.compile("tree-sitter-parser");
+
+ cc::Build::new()
+ .cpp(true)
+ .include(&dir)
+ .file(dir.join("scanner.cc"))
+ .compile("tree-sitter-scanner");
}
