Fix lookahead_char type in ts_tree_make_error function
This commit is contained in:
parent
03a555a86e
commit
704c2d5907
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ TreeArray ts_tree_array_remove_trailing_extras(TreeArray *self) {
|
|||
return result;
|
||||
}
|
||||
|
||||
Tree *ts_tree_make_error(Length size, Length padding, char lookahead_char) {
|
||||
Tree *ts_tree_make_error(Length size, Length padding, int32_t lookahead_char) {
|
||||
Tree *result = ts_tree_make_leaf(ts_builtin_sym_error, padding, size,
|
||||
(TSSymbolMetadata){
|
||||
.visible = true, .named = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue