Fix lookahead_char type in ts_tree_make_error function

This commit is contained in:
Max Brunsfeld 2017-03-21 11:05:48 -07:00 committed by Timothy Clem
parent 03a555a86e
commit 704c2d5907
2 changed files with 2 additions and 2 deletions

View file

@ -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,