fix: do not install parser.h

This commit is contained in:
Amaan Qureshi 2024-02-02 00:56:52 -05:00
parent 8ab14a0ee5
commit f4c40f6098
No known key found for this signature in database
GPG key ID: E67890ADC4227273
8 changed files with 12 additions and 13 deletions

View file

@ -42,7 +42,7 @@ pub const LANGUAGE_VERSION: usize = ffi::TREE_SITTER_LANGUAGE_VERSION as usize;
pub const MIN_COMPATIBLE_LANGUAGE_VERSION: usize =
ffi::TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION as usize;
pub const PARSER_HEADER: &'static str = include_str!("../include/tree_sitter/parser.h");
pub const PARSER_HEADER: &str = include_str!("../src/parser.h");
/// An opaque object that defines how to parse a particular language. The code for each
/// `Language` is generated by the Tree-sitter CLI.