fix example snippet in creating parsers docs

This commit is contained in:
Justin Woo 2019-03-24 14:35:39 +02:00 committed by justinwoo
parent d51cd86a3a
commit 6f804fd2e2

View file

@ -77,7 +77,7 @@ Then run the the following command:
tree-sitter generate
```
This will generate the C code required to parse this trivial language, as well as all of the files needed to compile and load this native parser as a Node.js module. You can test this parser by creating a source file with the contents `hello;` and parsing it:
This will generate the C code required to parse this trivial language, as well as all of the files needed to compile and load this native parser as a Node.js module. You can test this parser by creating a source file with the contents `hello` and parsing it:
```sh
tree-sitter parse ./the-file