Merge pull request #309 from justinwoo/patch-1
fix example snippet in creating parsers docs
This commit is contained in:
commit
62d712c6c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue