Merge pull request #309 from justinwoo/patch-1

fix example snippet in creating parsers docs
This commit is contained in:
Max Brunsfeld 2019-03-25 08:53:02 -07:00 committed by GitHub
commit 62d712c6c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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