mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
fix(generate): move generated header files into the generate crate
This commit is contained in:
parent
dfc891a5ce
commit
2047b22ae5
|
|
@ -39,8 +39,8 @@ struct GeneratedParser {
|
|||
node_types_json: String,
|
||||
}
|
||||
|
||||
pub const ALLOC_HEADER: &str = include_str!("../../src/templates/alloc.h");
|
||||
pub const ARRAY_HEADER: &str = include_str!("../../src/templates/array.h");
|
||||
pub const ALLOC_HEADER: &str = include_str!("templates/alloc.h");
|
||||
pub const ARRAY_HEADER: &str = include_str!("templates/array.h");
|
||||
|
||||
pub fn generate_parser_in_directory(
|
||||
repo_path: &Path,
|
||||
|
|
|
|||
Loading…
Reference in a new issue