Remove halt_on_error API
This commit is contained in:
parent
d06407aca2
commit
7de36a33eb
5 changed files with 8 additions and 77 deletions
|
|
@ -313,13 +313,6 @@ extern "C" {
|
|||
#[doc = " SVG output. You can turn off this logging by passing a negative number."]
|
||||
pub fn ts_parser_print_dot_graphs(self_: *mut TSParser, file: ::std::os::raw::c_int);
|
||||
}
|
||||
extern "C" {
|
||||
#[doc = " Set whether or not the parser should halt immediately upon detecting an"]
|
||||
#[doc = " error. This will generally result in a syntax tree with an error at the"]
|
||||
#[doc = " root, and one or more partial syntax trees within the error. This behavior"]
|
||||
#[doc = " may not be supported long-term."]
|
||||
pub fn ts_parser_halt_on_error(self_: *mut TSParser, halt: bool);
|
||||
}
|
||||
extern "C" {
|
||||
#[doc = " Create a shallow copy of the syntax tree. This is very fast."]
|
||||
#[doc = ""]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue