Merge pull request #2751 from stackmystack/doc-correction

doc: fix multi-language program typo
This commit is contained in:
Max Brunsfeld 2023-11-06 10:43:08 -08:00 committed by GitHub
commit d3c84e5bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -332,7 +332,7 @@ const TSLanguage *tree_sitter_ruby();
int main(int argc, const char **argv) {
const char *text = argv[1];
unsigned len = strlen(src);
unsigned len = strlen(text);
// Parse the entire text as ERB.
TSParser *parser = ts_parser_new();