Merge pull request #2751 from stackmystack/doc-correction
doc: fix multi-language program typo
This commit is contained in:
commit
d3c84e5bd3
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue